/* CSS Variables */
:root {
    --gg-white-100: #dfdfdf;
    --gg-accent-100: #dc482b;
    --gg-black-100: #0d0d0d;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fustat', sans-serif;
    font-weight: 200; /* Default font-weight for body text */
    background-color: var(--gg-black-100);
    background-image: url('assets/hero.png');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--gg-white-100);
    line-height: 1.4; /* Default line-height for body text */
}

/* Desktop Container */
.desktop {
    display: flex;
    flex-direction: column-reverse;
    min-height: 100vh;
    width: 100%;
    /*background-color: var(--gg-black-100);*/
}

/* Header */
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    padding: 40px 100px;
    order: 3;
    width: 100%;
}

.logo-container {
    position: relative;
    width: 183px;
    height: 80px;
    flex-shrink: 0;
}

.gamegears-logo {
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-text {
    flex: 1;
    min-width: 250px;
    font-size: 18px;
}

.header-text p {
    font-size: 18px;
}



/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
    padding: 40px 100px 80px;
    order: 2;
    width: 100%;
}

/* Sections */
.middle, .our-games {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Jura', sans-serif;
    font-weight: 600;
    line-height: 1.1; /* Global heading line-height */
}

p {
    font-size: 20px;
}

h1 {
    font-size: 48px;
    color: var(--gg-accent-100);
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}



.bold {
    font-weight: 500;
}

/* Intro Section */
.intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Features Section */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.column-left, .column-right {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-highlight {
    font-weight: 500; /* Slightly bolder than regular text */
}





.collaboration-text {
    display: flex;
    flex-direction: column;
    font-size: 20px; /* Ensure links inherit body text size */
}



/* ===== UNIVERSAL LINK STYLES ===== */

/* Single link style for all text links - inherits font properties from parent */
a {
    color: var(--gg-accent-100);
    text-decoration: underline;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-position: from-font;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gg-white-100);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* List Items */
.list-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    display: flex;
    align-items: center;
    padding-top: 6px;
    flex-shrink: 0;
}

.check-icon img {
    width: 18px;
    height: 18px;
}

.list-content {
    flex: 1;
}



/* Portfolio Section */
.section-title {
    font-size: 48px;
    color: var(--gg-accent-100);
}

.projects {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.project {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.game-icon {
    width: 122px;
    height: 122px;
    border-radius: 8px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.avz-icon {
    background-image: url('assets/avz-icon.png');
}

.shortly-icon {
    background-image: url('assets/shortly-icon.png');
}

.game-title {
    flex: 1;
}

.game-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
}



.store-links {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.store-badge {
    width: 120px;
    height: 36px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.store-links a {
    display: inline-block;
    text-decoration: none;
}

.store-links a:hover .store-badge {
    transform: translateY(-2px);
    opacity: 0.8;
}

.googleplay {
    background-image: url('assets/googleplay.png');
}

.appstore {
    background-image: url('assets/appstore.png');
}



/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 100px;
    order: 1;
    width: 100%;
    /*background-color: var(--gg-black-100);*/
}

.divider-line {
    width: 100%;
    height: 1px;
    background-color: rgba(246, 246, 246, 0.2); /* gg-white-100 at 20% opacity */
}

.legal-links {
    display: flex;
    flex-direction: row;
    gap: 40px;
    font-size: 18px;
    align-items: center;
}

.legal-links a {
    white-space: nowrap;
}



.copyright {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
    font-size: 18px;
    line-height: 1.2; /* Tighter line-height for footer */
}

.copyright p {
    font-size: 18px;
    white-space: nowrap;
}

/* Legal Document Styles - Clean Typography System */
.legal-document {
    display: flex;
    flex-direction: column;
    gap: 48px; /* Document structure spacing: 2x base unit */
    max-width: 1400px;
    width: 100%;
}

.legal-header {
    display: flex;
    flex-direction: column;
    gap: 24px; /* Standard content spacing */
    align-items: flex-start;
    text-align: left;
}

.publication-date {
    opacity: 0.8; /* Slightly muted appearance for publication dates */
}

.important-notice {
    font-family: 'Jura', sans-serif;
    font-weight: 600;
    font-size: 32px;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 48px; /* Major section spacing: 2x base unit */
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: 24px; /* Content spacing within sections */
}

/* Headings spacing - 1.5x space before headings within sections */
.legal-section h2 {
    color: var(--gg-accent-100);
    margin-top: 36px; /* 1.5x base unit spacing before headings */
}

.legal-section h2:first-child {
    margin-top: 0; /* Remove top margin for first heading in section */
}

.legal-section h3 {
    color: var(--gg-accent-100);
    margin-top: 36px; /* 1.5x base unit spacing before subheadings */
}



.legal-section ul {
    padding-left: 0;
    list-style-type: disc;
    margin-top: 24px; /* Standard content spacing */
}

.legal-section li {
    margin-bottom: 12px; /* Half base unit for list item spacing */
    margin-left: 20px;
    font-size: 20px; /* Ensure list items match body text size */
}

.legal-section li:last-child {
    margin-bottom: 0;
}

.contact-info {
    margin-top: 48px; /* 2x base unit for major section spacing */
}

.contact-info h2 {
    color: var(--gg-accent-100);
    margin-bottom: 24px; /* Standard content spacing */
}

.contact-info p {
    margin-bottom: 24px; /* Standard content spacing */
}

.contact-info p:last-child {
    margin-bottom: 0; /* Remove bottom margin on last paragraph */
}





/* Responsive Design */
@media (max-width: 1200px) {
    .header {
        padding: 40px 60px;
        gap: 40px;
    }
    
    .container {
        padding: 40px 60px 80px;
    }
    
    .footer {
        padding: 40px 60px;
    }
    
    .features {
        flex-direction: column;
    }
    
    .projects {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 30px 20px;
        flex-direction: column;
        gap: 30px;
        text-align: left;
        align-items: flex-start;
    }
    
    .container {
        padding: 30px 20px 60px;
        gap: 60px;
        align-items: flex-start;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    p {
        font-size: 18px;
    }
    
    .header-text,
    .header-text p {
        font-size: 16px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 20px;
        font-size: 16px;
        align-items: flex-start;
    }
    
    .copyright,
    .copyright p {
        font-size: 16px;
    }
    
    .copyright {
        gap: 40px;
    }
    
    .game-header {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    
    .game-icon {
        align-self: flex-start;
    }
    
    .store-links {
        justify-content: flex-start;
    }
    
    /* Legal Document Responsive */
    .legal-header h1 {
        font-size: 36px;
    }
    
    .legal-section h2 {
        font-size: 28px;
    }
    
    .legal-section h3 {
        font-size: 24px;
    }
    
    .publication-date,
    .legal-section p,
    .contact-info {
        font-size: 18px;
    }
    
    /* Responsive spacing adjustments for mobile */
    .legal-document {
        gap: 36px; /* Reduced document spacing for mobile */
    }
    
    .legal-content {
        gap: 36px; /* Reduced section spacing for mobile */
    }
    
    .legal-section h2 {
        margin-top: 24px; /* Reduced heading spacing for mobile */
    }
    
    .legal-section h3 {
        margin-top: 24px; /* Reduced subheading spacing for mobile */
    }
    
    .contact-info {
        margin-top: 36px; /* Reduced contact spacing for mobile */
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 150px;
        height: 65px;
    }
    
    .column-left, .column-right {
        min-width: 100%;
    }
    
    .list-item {
        gap: 15px;
    }
    
    .game-icon {
        width: 100px;
        height: 100px;
    }
    
    .store-badge {
        width: 100px;
        height: 30px;
    }
    
    .store-links a:active .store-badge {
        transform: translateY(-1px);
        opacity: 0.7;
    }
    
    /* Legal Document Mobile */
    .legal-header h1 {
        font-size: 28px;
    }
    
    .legal-section h2 {
        font-size: 24px;
    }
    
    .legal-section h3 {
        font-size: 20px;
    }
    
    .publication-date,
    .legal-section p,
    .contact-info {
        font-size: 18px;
    }
    
    .important-notice {
        font-size: 24px;
    }
    
    /* Responsive spacing adjustments for small mobile */
    .legal-document {
        gap: 32px; /* Further reduced document spacing for small mobile */
    }
    
    .legal-content {
        gap: 32px; /* Further reduced section spacing for small mobile */
    }
    
    .legal-section h2 {
        margin-top: 20px; /* Further reduced heading spacing for small mobile */
    }
    
    .legal-section h3 {
        margin-top: 20px; /* Further reduced subheading spacing for small mobile */
    }
    
    .contact-info {
        margin-top: 32px; /* Further reduced contact spacing for small mobile */
    }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(223, 223, 223, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    z-index: 1000;
    max-width: 1400px;
    width: calc(100% - 100px);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
}

.cookie-icon img {
    width: 24px;
    height: 24px;
}

.cookie-text {
    flex: 1;
    font-size: 18px;
    line-height: 1.2;
}

.cookie-text p {
    margin: 0;
    color: var(--gg-white-100);
}

/* Cookie notice links use universal link styles automatically */

.cookie-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    background-color: rgba(223, 223, 223, 0.1);
}

.cookie-close img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cookie-close:hover img {
    opacity: 1;
}

/* Cookie Notice Mobile Styles */
@media (max-width: 768px) {
    .cookie-notice {
        bottom: 20px;
        width: calc(100% - 32px);
        max-width: none;
    }
    
    .cookie-content {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .cookie-text {
        font-size: 18px;
    }
    
    .cookie-icon img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        bottom: 16px;
        width: calc(100% - 24px);
    }
    
    .cookie-content {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .cookie-text {
        font-size: 18px;
    }
    
    .cookie-icon img {
        width: 18px;
        height: 18px;
    }
    
    .cookie-close img {
        width: 14px;
        height: 14px;
    }
}
