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

:root {
    /* Colors from Figma */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-orange: #FF4E02;
    --color-gray: #808080;
    --color-overlay: rgba(0, 0, 0, 0.2);
    --color-card-bg: rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --font-tektur: 'Tektur', sans-serif;
    --font-helvetica: 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-helvetica);
    color: var(--color-white);
    background-color: var(--color-black);
    background-image: url('assets/hero.jpg'), url('assets/bottom.jpg');
    background-position: top center, bottom center;
    background-size: 100% auto, 100% auto;
    background-repeat: no-repeat, no-repeat;
    overflow-x: hidden;
    line-height: 1.1;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
}

/* Main Container */
.container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 60px;
}

.logo-gdev {
    width: 150px;
    height: 45px;
}

.logo-marathon {
    width: 184px;
    height: 92px;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding-bottom: 120px;
}

/* Job Description */
.job-description {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
}


.job-intro {
    font-family: var(--font-tektur);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1em;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
}

.job-title {
    font-family: var(--font-tektur);
    font-weight: 800;
    font-size: 96px;
    line-height: 1.1em;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
}

.job-subtitle {
    font-family: var(--font-tektur);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1em;
    text-align: center;
    color: var(--color-orange);
}

/* Requirements */
.requirements {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.requirement-list {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    gap: 40px;
    width: 100%;
}

.requirement-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex: 1;
}

.requirement-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.requirement-text {
    font-family: var(--font-helvetica);
    font-weight: 200;
    font-size: 28px;
    line-height: 1.1em;
    color: var(--color-white);
}

/* CTA Button */
.cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-helvetica);
    font-weight: 400;
    font-size: 32px;
    line-height: 1.1em;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF4E02 0%, #FF7A3D 50%, #FF4E02 100%);
    background-size: 200% 200%;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    z-index: -1;
    transition: background-position 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.1);
}

.cta-button:hover::before {
    background-position: 100% 50%;
}

/* Studios Section */
.studios-section {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 120px 100px;
    width: 100%;
}

.section-title {
    font-family: var(--font-tektur);
    font-weight: 500;
    font-size: 36px;
    line-height: 1.1em;
    text-align: center;
    color: var(--color-orange);
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.studio-link {
    display: inline-block;
    text-decoration: none;
}

.studio-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.studio-link:hover .studio-logo {
    transform: scale(1.2);
}

/* Individual logo sizes from Figma */
.studio-link:nth-child(1) .studio-logo {
    /* Nexters */
    width: 147px;
    height: 45px;
}

.studio-link:nth-child(2) .studio-logo {
    /* Cubic Games */
    width: 150px;
    height: 61px;
}

.studio-link:nth-child(3) .studio-logo {
    /* Royal Ark */
    width: 156px;
    height: 35px;
}

.studio-link:nth-child(4) .studio-logo {
    /* Game Gears */
    width: 110px;
    height: 57px;
}

.studio-link:nth-child(5) .studio-logo {
    /* Light Hour Games */
    width: 151px;
    height: 47px;
}

/* Recommendations Section */
.recommendations-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 120px 100px;
    width: 100%;
    border: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(255, 78, 2, 0.35) 50%, rgba(0, 0, 0, 0) 100%) 1;
    border-image-slice: 1 0 1 0;
}

.recommendations-list {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    gap: 0;
    width: 100%;
}

.recommendation-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.recommendation-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 12px;
    height: 100%;
}

.recommendation-avatar {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-text {
    font-family: var(--font-helvetica);
    font-weight: 200;
    font-size: 28px;
    line-height: 1.1em;
    text-align: center;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.recommendation-link:hover .recommendation-avatar {
    transform: scale(1.2);
}

.recommendation-link:hover .recommendation-text {
    color: var(--color-orange);
}




/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 100px;
    width: 100%;
}

.footer-text {
    font-family: var(--font-tektur);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.1em;
    text-align: center;
    color: var(--color-gray);
}

/* Responsive Design */
@media (max-width: 1440px) {
    .container {
        max-width: 100%;
    }
    
    .header {
        padding: 40px 60px;
        gap: auto;
    }
    
    .main-content {
        padding: 0 60px;
    }
    
    .job-description {
        width: 100%;
        max-width: 960px;
    }
    
    .studios-section,
    .recommendations-section {
        padding: 120px 60px;
    }
    
    .footer {
        padding: 80px 60px;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 30px 40px;
        gap: 20px;
    }
    
    .logo-gdev {
        width: 120px;
        height: 36px;
    }
    
    .logo-marathon {
        width: 147px;
        height: 74px;
    }
    
    .main-content {
        padding: 0 40px;
        gap: 60px;
    }
    
    .job-intro {
        font-size: 28px;
    }

    .job-title {
        font-size: 64px;
    }
    
    .job-subtitle {
        font-size: 28px;
    }
    
    .requirement-list {
        flex-direction: column;
        gap: 20px;
        width: 80%;
    }
    
    .requirement-text {
        font-size: 24px;
    }
    
    .cta-button {
        font-size: 28px;
        padding: 20px 36px;
    }
    
    .logos-container {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .studio-logo {
        height: 50px;
    }
    
    .studios-section,
    .recommendations-section {
        padding: 80px 40px;
        gap: 60px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .recommendations-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .recommendation-text {
        font-size: 24px;
        width: auto;
    }
    
    .footer {
        padding: 60px 40px;
    }
    
    .footer-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {

    .container {
        width: 100%;
        margin: 0%;
        padding: 0 0px;
    }

    .header {
        padding: 12px;
        gap: 20px;
    }
    
    .main-content {
        padding: 60px 12px 60px 12px;
        width: 100%;
        gap: 40px;
    }
    
    .job-intro {
        font-size: 24px;
    }

    .job-title {
        font-size: 44px;
    }
    
    .job-subtitle {
        font-size: 24px;
    }
    
    .requirement-icon {
        width: 24px;
        height: 24px;
    }
    
    .requirement-text {
        font-size: 18px;
    }
    
    .cta-button {
        font-size: 24px;
        padding: 18px 24px;
        width: 80%;
    }
    
    .studios-section,
    .recommendations-section {
        padding: 60px 30px;
        gap: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .studio-logo {
        height: 40px;
    }
    
    .recommendation-avatar {
        width: 100px;
        height: 100px;
    }
    
    .recommendation-text {
        font-size: 20px;
    }
    
    .footer {
        padding: 40px 12px;
    }
    
    .footer-text {
        font-size: 14px;
    }
}
