/* ... (Keep font-face and top styles) ... */
@font-face {
    font-family: Naroapp;
    src: url(/assests/Naroapp-medium.ttf);
}
*{
    font-family: Naroapp;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding-top: 140px;
    padding-bottom: 60px;
    position: relative;
    z-index: 10; 
}

/* Glossy Wrapper */
.gn-dl-wrapper {
    width: 100%;
    max-width: 1100px;
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(159, 0, 255, 0.3);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    /* Removed overflow:hidden to allow pop-ups/tooltips */
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 20; 
}

.light-mode .gn-dl-wrapper {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(159, 0, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

@media (min-width: 900px) {
    .gn-dl-wrapper { flex-direction: row; align-items: center; }
}

/* ------------------------------------------------------------------
   NEW: Mobile Optimization - Download Card on Top
   ------------------------------------------------------------------ */
@media (max-width: 899px) {
    .gn-dl-wrapper {
        /* Reverse the order of children (card then info) for mobile */
        flex-direction: column-reverse; 
    }
}
/* ------------------------------------------------------------------
   END NEW 
   ------------------------------------------------------------------ */


/* Left Info */
.gn-dl-info { flex: 1.2; z-index: 2; text-align: left; position: relative; }

.gn-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(159, 0, 255, 0.15);
    border: 1px solid rgba(159, 0, 255, 0.5);
    color: #9F00FF;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gn-dl-title {
    font-size: 55px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text);
}
.gn-dl-title span {
    color: #9F00FF;
    text-shadow: 0 0 25px rgba(159, 0, 255, 0.4);
}

.gn-dl-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Meta Grid */
.gn-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.gn-meta-box {
    background: var(--box);
    border: 1px solid #9F00FF33;
    padding: 15px;
    border-radius: 16px;
    transition: 0.3s;
}
.gn-meta-box:hover { border-color: #9F00FF; transform: translateY(-3px); }

.gn-meta-label { font-size: 11px; text-transform: uppercase; font-weight: 700; opacity: 0.6; color: var(--text); margin-bottom: 5px; }
.gn-meta-val { font-size: 16px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; }

/* Right Card */
.gn-dl-card-col { 
    flex: 0.8; 
    display: flex; 
    justify-content: center; 
    position: relative; 
    z-index: 50; 
}

.gn-app-card {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(145deg, #111, #050505);
    border: 1px solid #333;
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    z-index: 51; 
}

.light-mode .gn-app-card {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-color: #eee;
    box-shadow: 0 20px 60px rgba(159,0,255,0.15);
}

.gn-app-icon {
    width: 150px; height: 150px;
    margin: 0 auto 20px;
    background: #000;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gn-app-icon img { width: 100%; height: 100%; object-fit: cover; }

.gn-card-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.gn-card-sub { font-size: 14px; color: #9F00FF; font-weight: 700; margin-bottom: 25px; }

/* Glossy Button */
.gn-glossy-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #9F00FF 0%, #7000b5 100%);
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer !important;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 8px 20px rgba(159,0,255,0.4);
    z-index: 100 !important; 
    pointer-events: auto !important; 
}
.gn-glossy-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(159,0,255,0.6); }
.gn-glossy-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}
.gn-glossy-btn:hover::after { left: 100%; }

.gn-dl-count { font-size: 13px; margin-top: 15px; opacity: 0.6; color: var(--text); }

/* Rating Area Container - Ensure Positioning Context */
.gn-rating-area {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; /* Key for absolute positioning of message if needed */
    z-index: 60;
}
.light-mode .gn-rating-area { border-top-color: rgba(0,0,0,0.1); }

/* Stars Container */
.gn-stars { 
    display: flex; 
    gap: 5px; 
    cursor: pointer !important;
    position: relative;
    z-index: 101 !important; 
    pointer-events: auto !important;
}
.gn-stars i { font-size: 20px; transition: 0.2s; }

/* RATING ANIMATION MESSAGE - Completely Revamped */
.gn-thanks-msg {
    position: absolute;
    bottom: -25px; /* Position below the stars/text */
    right: 0;
    font-size: 12px;
    font-weight: 800;
    color: #9F00FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    
    /* New robust animation */
    animation: fadeInUpFade 2s ease-out forwards;
    opacity: 0; 
    pointer-events: none;
    z-index: 105;
}

@keyframes fadeInUpFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Ambient Orbs */
.gn-orb {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159,0,255,0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1; 
    pointer-events: none !important; 
    animation: floatOrb 8s infinite ease-in-out;
}
.gn-orb-1 { top: -100px; left: -100px; }
.gn-orb-2 { bottom: -100px; right: -100px; animation-delay: 4s; }

@keyframes floatOrb {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(30px, 30px); }
}
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
/* ... (Existing header.css content) ... */

/* ------------------------------------------------------------------
   NEW: Action Area Buttons (Patch Notes & Source Code) - Styles for Buttons
   ------------------------------------------------------------------ */

.gn-action-area {
    display: flex;
    gap: 8px; /* Small gap between the two new buttons */
    width: 100%;
}

/* Ensure spacing when area is used on the left (gn-dl-info) */
.gn-action-area-left {
    margin-top: 25px; 
    padding-top: 0; /* No separator line needed here */
}

.gn-action-btn {
    flex: 1; /* Make both buttons equal width */
    padding: 15px 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

/* Patch Notes Button Style */
.gn-patch-btn {
    background: #1e1e1e;
    border: 1px solid #9F00FF55;
    color: #9F00FF;
}

.gn-patch-btn:hover {
    background: #9F00FF;
    color: white !important;
    box-shadow: 0 0 10px #9F00FF;
}

/* NEW: Source Code Button Style (Replaces YouTube Button) */
.gn-source-code-btn {
    background: #007bff; /* A standard blue for source code/GitHub */
    border: 1px solid #007bff;
    color: white !important;
}

.gn-source-code-btn:hover {
    background: #0056b3;
    box-shadow: 0 0 10px #007bff;
}
/* END NEW */

.gn-action-btn i {
    margin-right: 8px;
    color: inherit;
}

/* Light mode adjustments for action buttons */
.light-mode .gn-patch-btn {
    background: white !important;
    color: #9F00FF !important;
    border-color: #9F00FF !important;
}

.light-mode .gn-patch-btn:hover {
    background: #9F00FF !important;
    color: white !important;
}

/* Light mode adjustments for NEW Source Code button */
.light-mode .gn-source-code-btn {
    background: #007bff !important;
    border: 1px solid #007bff !important;
    color: white !important;
}
.light-mode .gn-source-code-btn:hover {
    background: #0056b3 !important;
}
/* ... (Existing header.css content) ... */

/* Always keep purple visible */
.tab.active,
.heading .dl,
.content-one a:hover,
.gn-feature-box:hover,
/* Ensure new Patch Notes link is styled on hover */
.heading li a:hover {
    color: #fff !important;
}

/* ... (Existing styles for .heading, .heading ul, etc.) ... */

/* ------------------------------------------------------------------
   Download Button Styles for Naroapp-app.html (must be in the right CSS file)
   Using the glossy purple theme
   ------------------------------------------------------------------ */

.gn-dl-card-col {
    /* Ensure right card is positioned correctly if necessary, or just center its content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gn-download-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

.gn-glossy-btn {
    /* Main X64 Button */
    background: linear-gradient(90deg, #9F00FF, #B72BFF);
    border: none;
    color: white;
    padding: 16px 20px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(159, 0, 255, 0.4);
}

.gn-glossy-btn:hover {
    box-shadow: 0 8px 30px rgba(159, 0, 255, 0.6);
    transform: translateY(-2px);
}

.gn-secondary-btn {
    /* Other Download Options */
    background: #1e1e1e; /* Dark background from var(--box) */
    border: 2px solid #9F00FF55;
    color: #e0e0e0;
    padding: 12px 20px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.gn-secondary-btn:hover {
    background: #9F00FF33;
    border-color: #9F00FF;
    color: white !important;
}

.gn-download-options i {
    margin-right: 10px;
    color: inherit; /* Inherit color from the parent link */
}

/* Light mode adjustments for secondary buttons */
.light-mode .gn-secondary-btn {
    background: #ffffff !important;
    color: #111111 !important;
    border-color: #9F00FF !important;
}

.light-mode .gn-secondary-btn:hover {
    background: #9F00FF !important;
    color: white !important;
}

.light-mode .gn-secondary-btn:hover i {
    color: white !important;
}
