/* ============================================
   TEAM TRAIL BLAZERS — style.css
   Light Fantasy Game Studio Theme
   ============================================ */

/* ---- Custom Font Faces ---- */
@font-face {
    font-family: 'MagicSchoolTwo';
    src: url('fonts/MagicSchoolTwo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CuteNotebook';
    src: url('fonts/CuteNotebookPersonalUse-7OAEV.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MoriaCitadel';
    src: url('fonts/MoriaCitadel.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---- CSS Custom Properties ---- */
:root {
    --primary-bg: #faf6f0;
    --secondary-bg: #ffffff;
    --accent: #c0601c;
    --accent-hover: #a8510f;
    --accent-glow: rgba(192, 96, 28, 0.25);
    --accent-light: rgba(192, 96, 28, 0.08);
    --text-primary: #2b1f14;
    --text-secondary: #6e5e50;
    --card-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(180, 160, 140, 0.25);
    --border-hover: rgba(192, 96, 28, 0.5);
    --font-header: 'MagicSchoolTwo', serif;
    --font-body: 'CuteNotebook', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 30px;
    --shadow-soft: 0 4px 20px rgba(100, 80, 60, 0.08);
    --shadow-hover: 0 12px 40px rgba(100, 80, 60, 0.15);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---- Particle Canvas ---- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Section Titles ---- */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #2b1212 20%, #af6161 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ---- Buttons ---- */
.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 6px 25px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: rgb(255, 255, 255);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid rgba(170, 147, 116, 0.719);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.btn-block:hover {
    background-color: var(--accent-hover);
    color: white;
    box-shadow: 0 6px 25px var(--accent-glow);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(250, 246, 240, 0.97);
    box-shadow: 0 2px 20px rgba(100, 80, 60, 0.1);
    backdrop-filter: blur(12px);
}

.logo {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    z-index: 1001;
}

.logo-icon {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-primary);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-primary-nav {
    background-color: var(--accent);
    color: white;
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    z-index: 1001;
}

.btn-primary-nav:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 246, 240, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu ul li a {
    font-size: 1.6rem;
    font-family: var(--font-header);
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: var(--accent);
}

.mobile-menu .mobile-cta {
    font-size: 1rem !important;
    padding: 14px 40px;
    color: white !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--primary-bg);
    overflow: hidden;
}

.hero-bg-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Visual_Assets/Hero image.png') center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 246, 240, 0), rgba(245, 235, 220, 0));
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0;
    padding: 0 40px 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-family: 'MoriaCitadel';
    font-size: clamp(2rem, 6vw, 2.5rem);
    line-height: 1.3;
    background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleFadeIn 1.2s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    color: #f7f7f7;
    max-width: 480px;
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.7;
    animation: fadeIn 1.4s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    animation: fadeIn 1.4s ease-out 0.5s both;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    animation: fadeIn 1.4s ease-out 0.7s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    min-width: 180px;
    max-width: 300px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-card i {
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: block;
    color: var(--accent);
}

.feature-card h3 {
    font-family: 'CuteNotebook';
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    background-color: #f3ece3;
    position: relative;
    z-index: 1;
}

/* Subtle top border glow */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.about-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 70px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card h3 {
    font-family: 'CuteNotebook';
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.subsection-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 35px 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card i {
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--accent);
    display: block;
}

.value-card h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   GAMES SECTION
   ============================================ */
.games {
    padding: 120px 0;
    background-color: var(--primary-bg);
    position: relative;
    z-index: 1;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.game-card {
    background-color: var(--secondary-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(100, 80, 60, 0.2), 0 0 0 1px var(--accent);
}

.game-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.game-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--secondary-bg), transparent);
}

.game-info {
    padding: 24px;
}

.badge {
    font-size: 0.68rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.badge.in-dev {
    background-color: rgba(192, 96, 28, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.badge.concept {
    background-color: rgba(100, 80, 60, 0.08);
    color: #7a6554;
    border: 1px solid rgba(100, 80, 60, 0.3);
}

.badge.coming-soon {
    background-color: rgba(20, 120, 160, 0.1);
    color: #0e7a9e;
    border: 1px solid rgba(20, 120, 160, 0.4);
}

.game-info h3 {
    margin-bottom: 8px;
    font-size: 2rem;
}

.game-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
    padding: 120px 0;
    background-color: #f3ece3;
    position: relative;
    z-index: 1;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
}

.team-card {
    width: calc(25% - 28px);
    /* Maintains 4 per row size, minus the gap */
    min-width: 250px;
    text-align: center;
    background-color: var(--secondary-bg);
    padding: 36px 24px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3ece3, #e8ddd0);
    margin: 0 auto 20px;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.avatar i {
    font-size: 1.6rem;
    color: var(--accent);
}

.team-card:hover .avatar {
    box-shadow: 0 0 20px var(--accent-glow);
}

.team-card h3 {
    font-family: 'CuteNotebook';
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px 0;
}

.team-card .bio {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background-color: var(--primary-bg);
    position: relative;
    z-index: 1;
}

.contact-wrapper {
    max-width: 620px;
    margin: 30px auto 0;
    background-color: #ffffff;
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Subtle corner accent */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    border-radius: var(--radius-lg) 0 0 0;
    opacity: 0.4;
}

.contact-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    border-radius: 0 0 var(--radius-lg) 0;
    opacity: 0.4;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.form-group label i {
    margin-right: 6px;
    color: var(--accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: #f8f4ef;
    border: 1px solid #ddd3c7;
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0a090;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(192, 96, 28, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 80px 0 30px;
    background-color: #2b1f14;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    color: #e8ddd0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #faf6f0;
}

.footer-brand .logo-icon {
    color: var(--accent);
}

.footer-brand p {
    color: #b0a090;
    max-width: 300px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.95rem;
    margin-bottom: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    color: #faf6f0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #b0a090;
    font-size: 0.88rem;
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: #b0a090;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #6e5e50;
    font-size: 0.8rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.values-grid .value-card.fade-in-up:nth-child(2) {
    transition-delay: 0.1s;
}

.values-grid .value-card.fade-in-up:nth-child(3) {
    transition-delay: 0.2s;
}

.values-grid .value-card.fade-in-up:nth-child(4) {
    transition-delay: 0.3s;
}

.games-grid .game-card.fade-in-up:nth-child(2) {
    transition-delay: 0.15s;
}

.games-grid .game-card.fade-in-up:nth-child(3) {
    transition-delay: 0.3s;
}

.team-grid .team-card.fade-in-up:nth-child(2) {
    transition-delay: 0.1s;
}

.team-grid .team-card.fade-in-up:nth-child(3) {
    transition-delay: 0.2s;
}

.team-grid .team-card.fade-in-up:nth-child(4) {
    transition-delay: 0.3s;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-features {
        flex-wrap: wrap;
    }

    .feature-card {
        min-width: 160px;
        flex: 1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .btn-primary-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        margin-bottom: 50px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 50px;
    }

    .feature-card {
        min-width: unset;
    }

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

    .about-grid-top {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

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

    .contact-wrapper {
        padding: 28px 20px;
        margin: 20px 10px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .section-title {
        font-size: 1.7rem;
        letter-spacing: 1px;
    }
}