/* CSS Custom Properties */
:root {
    --primary-green: #4EAD31;
    --dark-bg: #191A23;
    --gray-bg: #242424;
    --light-gray: #F3F3F3;
    --text-gray: #8C8C8C;
    --text-light-gray: #D9D9D9;
    --white: #FFF;
    --black: #212121;
}

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

body {
    font-family: 'Lateef', -apple-system, Roboto, Helvetica, sans-serif;
    background: transparent url('https://cdn.builder.io/api/v1/image/assets%2F55243c9d913b40d09d7ee562199205da%2Fc7f72c43a7c44431a68af3340cb66af1') top center / 100% auto repeat-y;
    color: var(--white);
    line-height: 1.4;
    overflow-x: hidden;
}

/* Typography */
.hero-title {
    font-family: 'Lateef', sans-serif;
    font-weight: 500;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 0.75;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.hero-description {
    font-family: 'Lateef', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 2.8vw, 40px);
    line-height: 0.8;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-line {
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 200;
}

.section-title {
    font-family: 'Lateef', serif;
    font-weight: 400;
    font-size: clamp(48px, 6.7vw, 96px);
    line-height: 0.53;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 40px;
}

.about-section .section-title {
    padding-top: 30px;
}

.experience-section .section-title {
    line-height: 75px;
}

.section-description {
    font-family: 'Lateef', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.3vw, 48px);
    line-height: 0.9;
    color: var(--white);
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

.feature-description {
    font-family: 'Lateef', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 4.4vw, 64px);
    line-height: 0.9;
    color: var(--white);
    text-align: center;
    max-width: 962px;
    margin: 0 auto;
}

.email-title {
    font-family: 'Lateef', sans-serif;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 60px);
    line-height: 0.85;
    color: var(--white);
    margin-bottom: 20px;
}

.email-description {
    font-family: 'Lateef', sans-serif;
    font-weight: 200;
    font-size: clamp(22px, 2.5vw, 35px);
    line-height: 26px;
    color: var(--white);
    margin-bottom: 10px;
}

.email-disclaimer {
    font-family: 'Lateef', sans-serif;
    font-weight: 200;
    font-size: clamp(22px, 2.5vw, 35px);
    line-height: 26px;
    color: var(--text-light-gray);
}

/* Navigation */
.navigation-bar {
    padding: 40px 0 0 0;
    position: relative;
    z-index: 100;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 140px;
    display: flex;
    justify-content: flex-start;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: clamp(180px, 17.5vw, 251px);
    height: auto;
}

/* Hero Section */
.hero-section {
    padding: 20px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-container {
    padding: 0 140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 581px;
}

.hero-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -49px;
    padding: 0 10px;
}

.chaosbound-logo {
    width: 100%;
    max-width: 531px;
    height: auto;
    aspect-ratio: 178/59;
}

.kondera-cards {
    width: 100%;
    max-width: 345px;
    height: auto;
    aspect-ratio: 69/53;
    margin-top: -20px;
}

/* Email Sections */
.email-section {
    background: var(--gray-bg);
    padding: 0;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.email-container {
    padding: 0 140px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    min-height: 290px;
    align-items: center;
    width: 100%;
}

.email-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 466px;
}

.email-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    align-items: center;
}

.input-wrapper {
    order: 2;
    width: 100%;
}

.email-input {
    width: 100%;
    max-width: 590px;
    height: 70px;
    padding: 0 22px 0 30px;
    border-radius: 15px;
    background: var(--light-gray);
    border: none;
    font-family: 'Lateef', sans-serif;
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: 400;
    color: var(--text-gray);
    outline: none;
}

.email-input::placeholder {
    color: var(--text-gray);
}

.primary-button {
    width: 100%;
    max-width: 590px;
    padding: 20px 35px;
    border-radius: 15px;
    background: var(--primary-green);
    border: none;
    font-family: 'Lateef', sans-serif;
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: 700;
    color: var(--dark-bg);
    cursor: pointer;
    text-align: center;
    line-height: 0.7;
    order: 1;
    margin-bottom: auto;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background: #3f8f29;
}

/* About Section */
.about-section {
    padding: 30px 0 60px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.about-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    width: 100%;
}

.players-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/5;
}

.game-image {
    width: 100%;
    max-width: 70%;
    height: auto;
    aspect-ratio: 233/131;
    border-radius: 52px;
    box-shadow: 0 0 59.8px 6px var(--primary-green);
}

/* Experience Section */
.experience-section {
    padding: 30px 0 60px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.experience-container {
    padding: 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.feature-image {
    width: 100%;
    max-width: 1210px;
    height: auto;
    aspect-ratio: 589/92;
    border-radius: 26px;
}

/* Parallax feature containers */
.feature-parallax {
    display: flex;
    flex-direction: column;
    height: 150px;
    overflow: hidden;
    border-radius: 26px;
    width: 100%;
    max-width: 1210px;
}

.feature-parallax-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    will-change: transform;
    transform: translateY(0);
    transition: transform 0.2s ease-out;
}

/* Footer */
.footer {
    margin-top: auto;
    position: relative;
}

.footer-container {
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-content {
    margin-top: 50px;
    padding: 55px 60px 50px 60px;
    border-radius: 45px 45px 0 0;
    background: var(--light-gray);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo-section {
    flex: 1;
}

.footer-logo {
    width: clamp(150px, 15vw, 220px);
    height: auto;
}

.footer-brand {
    width: 100%;
    max-width: 268px;
    aspect-ratio: 4.17 / 1;
    object-fit: cover;
    object-position: center;
    margin-left: 20px;
    min-width: 20px;
    min-height: 20px;
    overflow: hidden;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container,
    .hero-container,
    .email-container,
    .about-container,
    .experience-container {
        padding: 0 80px;
    }
    
    .footer-container {
        padding: 0 60px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-images {
        order: -1;
    }
    
    .email-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 80px;
    }
    
    .email-form {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-container,
    .hero-container,
    .email-container,
    .about-container,
    .experience-container {
        padding: 0 40px;
    }
    
    .footer-container {
        padding: 0 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px 30px;
    }
    
    .email-container {
        padding: 40px 40px;
    }
    
    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .nav-container,
    .hero-container,
    .email-container,
    .about-container,
    .experience-container {
        padding: 0 20px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .email-container {
        padding: 30px 20px;
    }
    
    .footer-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-description,
    .feature-description {
        font-size: 24px;
    }
    
    .email-title {
        font-size: 28px;
    }
    
    .email-description,
    .email-disclaimer {
        font-size: 18px;
    }
    
    .email-input,
    .primary-button {
        font-size: 18px;
        height: 60px;
        padding: 20px 15px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary-green);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: var(--text-gray);
}

.bg-dark {
    background: var(--dark-bg);
}

.bg-gray {
    background: var(--gray-bg);
}

.bg-light {
    background: var(--light-gray);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.email-input:focus,
.primary-button:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Print styles */
@media print {
    .navigation-bar,
    .email-section,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-title,
    .section-title {
        color: black;
    }
}
