/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Back Button */
.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 2px solid #6c63ff;
    color: #6c63ff;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-button:hover {
    background: #6c63ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.back-button:active {
    transform: translateY(0);
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.logo-icon {
    filter: none;
}

.logo-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.studio-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.02em;
}

/* Main Content Styles */
main {
    padding: 4rem 2rem;
}

.hero-section {
    text-align: center;
    max-width: 1600px;
    margin: 0 auto 6rem auto;
}

.hero-section h2 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000000;
    text-shadow:2px 2px 3px;
}

.hero-section p {
    font-size: 1.25rem;
    color: #666666;
    margin-bottom: 2rem;
}

/* Game Showcase Section */
.game-showcase {
    margin-bottom: 6rem;
}

.showcase-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333333;
}

.game-info {
    margin-bottom: 3rem;
}

.game-title {
    font-size: 2rem;
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 0.5rem;
}

.game-description {
    font-size: 1.1rem;
    color: #666666;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.slides {
    position: relative;
    width: 100%;
    height: 450px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333333;
    border: none;
    padding: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.prev-btn:hover, .next-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #6c63ff;
    transform: scale(1.2);
}

.indicator:hover {
    background: #ffffff;
}

/* Studio Information Section */
.studio-info {
    background: #ffffff;
    border-radius: 20px;
    padding: 4rem 3rem;
    margin: 0 auto 6rem auto;
    max-width: 1000px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.info-container {
    text-align: center;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333333;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.studio-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 3rem;
}

.team-section {
    margin-top: 3rem;
}

.team-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 2rem;
}

.team-member {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: #6c63ff;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

/* Requirements Section */
.requirements-section {
    margin-bottom: 6rem;
}

.requirements-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.requirements-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
}

.requirements-intro {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}


.requirement-category:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.requirement-category:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.requirement-category:nth-child(5) {
    grid-column: 1 / span 2;
    grid-row: 3;
    max-width: 50%;
    margin: 0 auto;
}

.requirement-category {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.requirement-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-color: #6c63ff;
}

.category-icon {
    color: #6c63ff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #666666;
    line-height: 1.6;
}

.requirements-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6c63ff;
    font-weight: bold;
    font-size: 1.2rem;
}

.footer-note {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Positions Section */
.positions-section {
    margin-bottom: 6rem;
}

.positions-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.positions-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
}

.positions-intro {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.position-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.position-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #6c63ff;
}

.position-icon {
    color: #6c63ff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.position-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
    text-align: center;
}

.position-description {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.position-responsibilities {
    list-style: none;
    padding: 0;
}

.position-responsibilities li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #666666;
    line-height: 1.5;
}

.position-responsibilities li::before {
    content: "O";
    position: absolute;
    left: 0;
    color: #6c63ff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* What We Offer Section */
.offers-section {
    margin-bottom: 6rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 4rem 3rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.offers-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.offers-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
}

.offers-intro {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #6c63ff;
    background: #ffffff;
}

.offer-icon {
    color: #6c63ff;
    margin-bottom: 1.5rem;
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.offer-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

.offer-list {
    list-style: none;
    padding: 0;
}

.offer-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #666666;
    line-height: 1.5;
}

.offer-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6c63ff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Application Form Section */
.application-section {
    margin-bottom: 4rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 4rem 3rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.application-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.application-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
}

.application-intro {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.application-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #6c63ff;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #5a52e3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer Styles */
.site-footer {
    background: #333333;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-studio-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.footer-description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #6c63ff;
}

.footer-contact {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #555555;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

.footer-note {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .studio-name {
        font-size: 1.5rem;
    }
    
    .logo-section {
        gap: 0.75rem;
    }
    
    .back-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    main {
        padding: 2rem 1rem;
    }

    .showcase-title, .info-title, .requirements-title, .positions-title, .offers-title, .application-title {
        font-size: 2rem;
    }

    .game-title {
        font-size: 1.6rem;
    }

    .slides {
        height: 300px;
    }

    .studio-info, .offers-section, .application-section {
        padding: 2.5rem 1.5rem;
    }

    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        padding: 0.75rem;
        font-size: 1rem;
    }

    .prev-btn {
        left: 0.5rem;
    }

    .next-btn {
        right: 0.5rem;
    }

    .requirements-intro, .positions-intro, .offers-intro, .application-intro {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .requirements-grid, .positions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .requirement-category:nth-child(3),
    .requirement-category:nth-child(4),
    .requirement-category:nth-child(5) {
        grid-column: unset;
        grid-row: unset;
        max-width: none;
        margin: 0;
    }

    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .requirement-category {
        padding: 2rem 1.5rem;
    }

    .position-card {
        padding: 2.5rem 1.5rem;
    }

    .position-title {
        font-size: 1.4rem;
    }

    .position-description {
        font-size: 1rem;
    }

    .offer-card {
        padding: 2rem 1.5rem;
    }

    .offer-title {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .logo-section {
        flex: 1;
        justify-content: center;
        order: 0;
    }
    
    .studio-name {
        display: none;
    }
    
    .back-button {
        order: -1;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    .showcase-title, .info-title, .requirements-title, .positions-title, .offers-title, .application-title {
        font-size: 1.8rem;
    }

    .slides {
        height: 250px;
    }

    .studio-info {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }

    .studio-description {
        font-size: 1rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .requirement-category {
        padding: 2rem 1rem;
    }

    .position-card {
        padding: 2rem 1.5rem;
    }

    .offers-section, .application-section {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }

    .offer-card {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-description {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}