/* ============================
   ROOT & GLOBAL STYLES
   ============================ */

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

:root {
    --primary-color: #000000;
    --secondary-color: #282828;
    --accent-color: #666666;
    --text-light: #ffffff;
    --text-dark: #000000;
    --bg-light: #ffffff;
    --bg-dark: #000000;
    --btn-hover-color: #151515;

    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

s {
    color: #999999;
}

/* ============================
   CONTAINER & LAYOUT
   ============================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================
   HEADER & NAVIGATION
   ============================ */

.header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================
   HERO SECTION
   ============================ */

.hero {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: var(--text-light);
    padding: 120px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInDown 0.8s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   BUTTONS
   ============================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--btn-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--btn-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 100, 100, 0.4);
}

/* ============================
   SECTION TITLES
   ============================ */

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* ============================
   GAMES SECTION
   ============================ */

.games {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background-color: var(--text-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 250px;
    background-color: #ddd;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.game-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ============================
   ABOUT SECTION
   ============================ */

.about {
    padding: 80px 20px;
    background-color: var(--text-dark);
}

.about-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-dark);
    background-color: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================
   TEAM SECTION
   ============================ */

.team {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.member-image {
    width: 100%;
    height: 300px;
    background-color: #333;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #444;
}

/* ============================
   CONTACT SECTION
   ============================ */

.contact {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--text-dark);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #1a1a1a;
    color: var(--text-light);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(100, 100, 100, 0.2);
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    color: var(--secondary-color);
}

/* ============================
   FOOTER
   ============================ */

.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    border-top: 3px solid var(--secondary-color);
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 20px;
        min-height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .stat h3 {
        font-size: 2rem;
    }
}

/* ============================
   GAME PAGE TEMPLATE STYLES
   ============================ */

.game-header {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
}

.game-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-tagline {
    font-size: 1.3rem;
    opacity: 0.9;
}

.game-hero-image {
    background-color: #000;
    padding: 40px 20px;
}

.game-hero-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.game-overview {
    padding: 80px 20px;
    background-color: var(--text-dark);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.overview-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.overview-specs {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.overview-specs h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.overview-specs ul {
    list-style: none;
}

.overview-specs li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
}

.overview-specs li:last-child {
    border-bottom: none;
}

.overview-specs strong {
    color: var(--text-light);
}

.overview-specs span {
    color: var(--text-light);
    font-weight: 600;
}

.game-gallery {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.game-gallery h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.game-features {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.game-features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.game-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: var(--text-light);
    text-align: center;
}

.game-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ============================
   JOBS PAGE STYLES
   ============================ */

.jobs-header {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
}

.jobs-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.jobs-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.job-listings {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.job-listings h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.job-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.job-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

.job-type {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-location {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.job-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.job-requirements {
    list-style: none;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.job-requirements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.job-requirements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.why-join {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    border-top: 2px solid #333;
}

.why-join h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(100, 100, 100, 0.05) 100%);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    text-align: center;
}

.benefit-item h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.application-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.application-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.apply-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.success-message {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(100, 200, 100, 0.1) 100%);
    border: 2px solid #4a9d6f;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.success-message h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.application-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.application-form .form-group {
    margin-bottom: 1.5rem;
}

.application-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #0a0a0a;
    color: var(--text-light);
    transition: var(--transition);
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(100, 100, 100, 0.2);
}

.application-form option {
    background-color: #1a1a1a;
    color: var(--text-light);
}

.application-form button {
    width: 100%;
    margin-top: 1rem;
}

/* ============================
   RESPONSIVE JOBS PAGE
   ============================ */

@media (max-width: 768px) {
    .jobs-header h1 {
        font-size: 2rem;
    }

    .job-listings h2,
    .why-join h2,
    .application-section h2 {
        font-size: 2rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .application-form {
        padding: 2rem;
    }
}

/* ============================
   RESPONSIVE GAME PAGE
   ============================ */

@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
    }

    .game-header h1 {
        font-size: 2rem;
    }

    .game-features h2,
    .game-gallery h2 {
        font-size: 2rem;
    }

    .game-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

