/* Game Site Styles - Far Cry Theme Enhanced 2025/2026 */

:root {
    --fc-orange: #ff9f1c;
    --fc-orange-light: #ffb84d;
    --fc-orange-dark: #d68516;
    --fc-red: #e71d36;
    --fc-dark: #1a1a1d;
    --fc-darker: #0b0b0d;
    --fc-gray: #4e4e50;
    --fc-light: #f0f0f0;
    --fc-green: #2ec4b6;
    --bg-overlay: rgba(11, 11, 13, 0.85);
    --card-bg: rgba(30, 30, 35, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(255, 159, 28, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--fc-darker);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 159, 28, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(231, 29, 54, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #050505 0%, #1a1a1d 100%);
    color: var(--fc-light);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header - Modern Glassmorphism */
header {
    background: rgba(11, 11, 13, 0.95);
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.header-top {
    text-align: center;
    margin-bottom: 15px;
}

.unofficial-notice {
    background: rgba(231, 29, 54, 0.15);
    color: #ff6b6b;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    border: 1px solid rgba(231, 29, 54, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Site Logo - IMPROVED */
.site-logo {
    font-size: 3rem;
    text-align: center;
    font-weight: 900;
    letter-spacing: 8px;
    margin: 10px 0 25px;
    line-height: 1;
    font-family: Impact, 'Arial Black', sans-serif;
}

.site-logo a {
    color: var(--fc-orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    text-shadow: 
        0 0 20px rgba(255, 159, 28, 0.4),
        2px 2px 0 rgba(0,0,0,0.8);
}

.site-logo a:hover {
    color: var(--fc-orange-light);
    transform: scale(1.02);
    text-shadow: 0 0 30px rgba(255, 159, 28, 0.6);
}

.site-logo i {
    font-size: 2.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--fc-orange);
    color: var(--fc-orange);
    font-size: 1.3rem;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle:hover {
    background: var(--fc-orange);
    color: var(--fc-darker);
    box-shadow: 0 0 15px rgba(255, 159, 28, 0.4);
}

/* Navigation */
nav {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
}

nav a:hover {
    background: rgba(255, 159, 28, 0.15);
    color: var(--fc-orange);
    border-color: rgba(255, 159, 28, 0.3);
    transform: translateY(-2px);
}

nav a.active {
    background: linear-gradient(135deg, var(--fc-orange) 0%, var(--fc-orange-dark) 100%);
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.4);
    font-weight: 800;
}

/* Main Content */
main {
    flex: 1;
    padding: 50px 0;
}

.game-header {
    background: linear-gradient(135deg, rgba(35, 35, 40, 0.95) 0%, rgba(20, 20, 25, 0.98) 100%);
    border-radius: 20px;
    padding: 60px 50px;
    margin-bottom: 50px;
    border: 1px solid var(--glass-border);
    border-left: 5px solid var(--fc-orange);
    box-shadow: 
        var(--shadow-soft),
        0 0 40px rgba(255, 159, 28, 0.1);
    position: relative;
    overflow: hidden;
}

.game-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.game-header h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    position: relative;
    z-index: 1;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.badge {
    background: rgba(255, 159, 28, 0.12);
    color: var(--fc-orange);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255, 159, 28, 0.25);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge i {
    font-size: 0.9rem;
}

.badge:hover {
    background: rgba(255, 159, 28, 0.2);
    border-color: var(--fc-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}

/* Images - IMPROVED STYLING */
.game-logo {
    display: block;
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 16px;
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.6),
        0 0 30px rgba(255, 159, 28, 0.15);
    border: 2px solid rgba(255, 159, 28, 0.2);
    transition: var(--transition);
}

.game-logo:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.7),
        0 0 40px rgba(255, 159, 28, 0.25);
    border-color: rgba(255, 159, 28, 0.4);
}

.screenshot {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 50px 0;
    border-radius: 16px;
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.6),
        0 0 30px rgba(255, 159, 28, 0.1);
    border: 2px solid rgba(255, 159, 28, 0.15);
    transition: var(--transition);
}

.screenshot:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.7),
        0 0 40px rgba(255, 159, 28, 0.2);
    border-color: rgba(255, 159, 28, 0.3);
}

.introduction {
    font-size: 1.15rem;
    color: #ddd;
    margin-bottom: 50px;
    padding: 35px 40px;
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.08) 0%, rgba(46, 196, 182, 0.03) 100%);
    border-radius: 16px;
    border-left: 5px solid var(--fc-green);
    line-height: 1.9;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.game-content {
    background: var(--card-bg);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.game-content h2 {
    color: var(--fc-orange);
    font-size: 2rem;
    margin: 60px 0 30px;
    font-weight: 800;
    border-bottom: 2px solid rgba(255, 159, 28, 0.25);
    padding-bottom: 18px;
    position: relative;
}

.game-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--fc-orange);
    box-shadow: 0 0 10px rgba(255, 159, 28, 0.5);
}

.game-content h2:first-child {
    margin-top: 0;
}

.game-content h3 {
    color: var(--fc-green);
    font-size: 1.5rem;
    margin: 40px 0 25px;
    font-weight: 700;
}

.game-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: #c5c5c5;
    line-height: 1.9;
}

.game-content ul, .game-content ol {
    margin: 30px 0 40px;
    padding-left: 25px;
}

.game-content li {
    margin-bottom: 15px;
    color: #ccc;
    padding-left: 12px;
    line-height: 1.8;
    position: relative;
}

.game-content li::marker {
    color: var(--fc-orange);
}

.game-content li strong {
    color: var(--fc-orange-light);
    font-weight: 700;
}

.game-content blockquote {
    border-left: 5px solid var(--fc-red);
    padding: 25px 30px;
    margin: 40px 0;
    background: rgba(231, 29, 54, 0.08);
    font-style: italic;
    color: #eee;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.game-content code, .game-content pre {
    background: rgba(0,0,0,0.4);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--fc-green);
    font-size: 0.95em;
}

.game-content pre {
    padding: 20px;
    overflow-x: auto;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Download Buttons - COMPLETELY REDESIGNED */
.download-btn {
    display: block !important;
    width: fit-content;
    max-width: 500px;
    margin: 60px auto !important;
    padding: 20px 60px !important;
    background: linear-gradient(135deg, var(--fc-orange) 0%, var(--fc-orange-dark) 100%) !important;
    color: #000 !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none !important;
    box-shadow: 
        0 10px 30px rgba(255, 159, 28, 0.5),
        0 0 40px rgba(255, 159, 28, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.download-btn::before {
    content: '\f019';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 15px;
    font-size: 1.4rem;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:hover {
    background: linear-gradient(135deg, #fff 0%, var(--fc-orange-light) 100%) !important;
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 
        0 20px 50px rgba(255, 159, 28, 0.7),
        0 0 60px rgba(255, 159, 28, 0.5) !important;
}

.download-btn:hover::after {
    width: 300px;
    height: 300px;
}

.download-btn:active {
    transform: translateY(-4px) scale(1.02) !important;
}

/* Links in text */
.game-content a:not(.download-btn):not(.card-btn), 
.introduction a:not(.download-btn):not(.card-btn) {
    color: var(--fc-orange);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 159, 28, 0.4);
    transition: var(--transition);
    font-weight: 600;
}

.game-content a:not(.download-btn):not(.card-btn):hover, 
.introduction a:not(.download-btn):not(.card-btn):hover {
    color: var(--fc-orange-light);
    border-bottom-color: var(--fc-orange);
}

/* Footer */
footer {
    background: #08080a;
    padding: 70px 0 35px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    margin-bottom: 35px;
    font-size: 0.9rem;
    color: #777;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.8;
}

.footer-disclaimer strong {
    color: var(--fc-orange-dark);
}

footer nav {
    margin-bottom: 25px;
}

footer nav a {
    color: #888;
    margin: 0 12px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

footer nav a:hover {
    color: var(--fc-orange) !important;
}

footer p {
    color: #555;
    font-size: 0.95rem;
}

/* Game Cards Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 50px 0 70px;
}

.game-card {
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.6), rgba(25, 25, 30, 0.8));
    border: 1px solid rgba(255, 159, 28, 0.15);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.game-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(50, 50, 55, 0.7), rgba(30, 30, 35, 0.9));
    border-color: rgba(255, 159, 28, 0.4);
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.6),
        0 0 30px rgba(255, 159, 28, 0.2);
}

.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.game-card h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

.game-year {
    background: rgba(255, 159, 28, 0.2);
    color: var(--fc-orange);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 159, 28, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.game-year::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    font-size: 0.75rem;
}

.game-card p {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 30px;
    flex-grow: 1;
    line-height: 1.7;
}

.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--fc-orange);
    padding: 14px;
    border: 2px solid var(--fc-orange);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: var(--transition);
}

.card-btn i {
    transition: var(--transition);
}

.card-btn:hover {
    background: var(--fc-orange);
    color: #000;
    box-shadow: 0 5px 20px rgba(255, 159, 28, 0.4);
    transform: translateY(-2px);
}

.card-btn:hover i {
    transform: translateX(5px);
}

/* Quick Links Section */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.06), rgba(231, 29, 54, 0.06));
    border-radius: 16px;
    border: 1px solid rgba(255, 159, 28, 0.2);
}

.quick-link {
    flex: 1;
    min-width: 220px;
    background: rgba(0,0,0,0.3);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--fc-orange);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.quick-link:hover {
    background: rgba(255, 159, 28, 0.1);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.quick-link h4 {
    color: var(--fc-orange);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-link h4 i {
    font-size: 1.4rem;
    color: var(--fc-orange-light);
}

.quick-link p {
    color: #999;
    font-size: 0.95rem;
    margin: 0;
}

.quick-link a {
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px dotted #666;
}

.quick-link a:hover {
    color: var(--fc-orange);
    border-bottom-color: var(--fc-orange);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    
    .game-header {
        padding: 50px 40px;
    }
    
    .game-content {
        padding: 50px 40px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.98);
        flex-direction: column;
        padding: 25px;
        border-bottom: 2px solid var(--fc-orange);
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    nav.active {
        display: flex;
    }
    
    nav a {
        width: 100%;
        justify-content: center;
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.9rem;
    }
    
    nav a:last-child {
        border-bottom: none;
    }
    
    .site-logo {
        font-size: 2.2rem;
    }
    
    .site-logo i {
        font-size: 2rem;
    }
    
    .game-header {
        padding: 40px 30px;
    }
    
    .game-header h1 {
        font-size: 2.2rem;
    }
    
    .game-content {
        padding: 40px 30px;
    }
    
    .game-content h2 {
        font-size: 1.7rem;
    }
    
    .introduction {
        padding: 30px 25px;
        font-size: 1.05rem;
    }
    
    .download-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 40px !important;
        font-size: 1.1rem !important;
    }
    
    .quick-links {
        flex-direction: column;
        padding: 30px 25px;
    }
    
    .quick-link {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .site-logo {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }
    
    .site-logo i {
        font-size: 1.6rem;
    }
    
    .game-header {
        padding: 30px 20px;
    }
    
    .game-header h1 {
        font-size: 1.8rem;
    }
    
    .badges {
        justify-content: center;
        gap: 8px;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .game-content {
        padding: 30px 20px;
    }
    
    .game-content h2 {
        font-size: 1.5rem;
    }
    
    .introduction {
        padding: 25px 20px;
        font-size: 1rem;
    }
    
    .download-btn {
        padding: 16px 30px !important;
        font-size: 1rem !important;
        letter-spacing: 1px;
    }
    
    .game-logo {
        margin: 30px auto;
    }
    
    .screenshot {
        margin: 40px 0;
    }
}
