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

:root {
    --accent: #0d9488;
    --accent-hover: #0f766e;
    --accent-dim: rgba(13, 148, 136, 0.08);
    --accent-glow: rgba(13, 148, 136, 0.1);

    --bg: #f8f7f4;
    --bg-surface: #f0efeb;
    --bg-card: #ffffff;
    --bg-elevated: #e8e7e3;
    --bg-shell: rgba(0, 0, 0, 0.03);

    --text: #1a1a1a;
    --text-secondary: #6b6b6b;
    --text-muted: #9a9a9a;

    --border: rgba(0, 0, 0, 0.07);
    --border-hover: rgba(0, 0, 0, 0.14);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --shadow-ambient: 0 0 0 1px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-float: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.06);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-expo: cubic-bezier(0.32, 0.72, 0, 1);

    --cat-puzzle: #6366f1;
    --cat-action: #ea580c;
    --cat-arcade: #d97706;
    --cat-board: #059669;
    --cat-memory: #db2777;
    --cat-typing: #0284c7;
    --cat-casual: #e11d48;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 10000;
    text-decoration: none;
    transition: top 200ms var(--ease-out);
}

.skip-link:focus {
    top: 16px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    animation: orbDrift 35s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -300px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ea580c 0%, transparent 70%);
    bottom: -200px;
    left: -150px;
    animation-delay: -12s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: 45%;
    left: 25%;
    animation-delay: -24s;
}

@keyframes orbDrift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -20px); }
    66% { transform: translate(-20px, 25px); }
}

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1100px;
    z-index: 100;
    background: rgba(248, 247, 244, 0.8);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 24px;
    transition: all 400ms var(--ease-out);
}

.navbar.scrolled {
    background: rgba(248, 247, 244, 0.95);
    border-color: var(--border-hover);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: all 200ms var(--ease-out);
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-dim);
}

.nav-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3px;
    gap: 4px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    transition: all 200ms var(--ease-out);
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
}

.lang-btn.active {
    background: var(--accent);
    color: #fff;
}

.lang-flag {
    font-size: 14px;
}

.lang-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all 200ms var(--ease-out);
}

.search-box:focus-within {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.search-box i {
    color: var(--text-muted);
    font-size: 12px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    width: 140px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    cursor: pointer;
    transition: all 200ms var(--ease-out);
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.07);
    border-color: var(--border-hover);
}

.hamburger {
    width: 16px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    border-radius: 1px;
    transition: all 300ms var(--ease-out);
    transform-origin: center;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: translateY(6.25px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: translateY(-6.25px) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(248, 247, 244, 0.95);
    backdrop-filter: blur(32px) saturate(1.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 500ms var(--ease-out);
}

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

.mobile-overlay-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-nav-link {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
    padding: 8px 24px;
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(24px);
    transition: all 600ms var(--ease-out);
}

.mobile-overlay.open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-overlay.open .mobile-nav-link:nth-child(1) { transition-delay: 80ms; }
.mobile-overlay.open .mobile-nav-link:nth-child(2) { transition-delay: 140ms; }
.mobile-overlay.open .mobile-nav-link:nth-child(3) { transition-delay: 200ms; }

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

.mobile-search-wrap {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(24px);
    transition: all 600ms var(--ease-out);
    transition-delay: 260ms;
}

.mobile-overlay.open .mobile-search-wrap {
    opacity: 1;
    transform: translateY(0);
}

.mobile-search-wrap input {
    width: 280px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    text-align: center;
    transition: border-color 200ms var(--ease-out);
}

.mobile-search-wrap input:focus {
    border-color: var(--accent);
}

.mobile-search-wrap input::placeholder {
    color: var(--text-muted);
}

.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(52px, 9vw, 88px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-title .line-accent {
    background: linear-gradient(135deg, var(--accent), #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .line-sub {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    display: block;
    margin-top: 8px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.hero-stat {
    padding: 0 28px;
    text-align: center;
    position: relative;
}

.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--border);
}

.hero-stat-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--accent);
    color: #fff;
    padding: 5px 5px 5px 24px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: all 400ms var(--ease-out);
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.12);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 48px rgba(13, 148, 136, 0.18);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
}

.cta-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.cta-button-text {
    margin-right: 12px;
}

.cta-button-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 13px;
    transition: all 300ms var(--ease-out);
}

.cta-button:hover .cta-button-icon {
    transform: translateX(3px) translateY(-1px) scale(1.08);
}

.games-section {
    padding: 40px 0 120px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-eyebrow i {
    font-size: 10px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.category-filter {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 7px 16px;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 250ms var(--ease-out);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.filter-btn:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--border-hover);
}

.filter-btn:active {
    transform: scale(0.97);
}

.filter-btn.active {
    background: var(--text);
    border-color: var(--text);
    color: #fff;
}

.filter-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.filter-btn i {
    font-size: 12px;
}

.filter-btn .count {
    font-size: 11px;
    opacity: 0.5;
    margin-left: 2px;
    font-weight: 600;
}

.filter-btn.active .count {
    opacity: 0.6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
}

.game-card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 400ms var(--ease-out);
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-card:active {
    transform: translateY(-2px) scale(0.99);
}

.card-shell {
    background: var(--bg-shell);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5px;
    transition: all 400ms var(--ease-out);
    overflow: hidden;
}

.game-card:hover .card-shell {
    border-color: var(--border-hover);
}

.game-card[data-category="Puzzle"]:hover .card-shell { border-color: rgba(99, 102, 241, 0.25); box-shadow: 0 4px 24px rgba(99, 102, 241, 0.06); }
.game-card[data-category="Action"]:hover .card-shell { border-color: rgba(234, 88, 12, 0.25); box-shadow: 0 4px 24px rgba(234, 88, 12, 0.06); }
.game-card[data-category="Arcade"]:hover .card-shell { border-color: rgba(217, 119, 6, 0.25); box-shadow: 0 4px 24px rgba(217, 119, 6, 0.06); }
.game-card[data-category="Board"]:hover .card-shell { border-color: rgba(5, 150, 105, 0.25); box-shadow: 0 4px 24px rgba(5, 150, 105, 0.06); }
.game-card[data-category="Memory"]:hover .card-shell { border-color: rgba(219, 39, 119, 0.25); box-shadow: 0 4px 24px rgba(219, 39, 119, 0.06); }
.game-card[data-category="Typing"]:hover .card-shell { border-color: rgba(2, 132, 199, 0.25); box-shadow: 0 4px 24px rgba(2, 132, 199, 0.06); }
.game-card[data-category="Casual"]:hover .card-shell { border-color: rgba(225, 29, 72, 0.25); box-shadow: 0 4px 24px rgba(225, 29, 72, 0.06); }

.card-core {
    background: var(--bg-card);
    border-radius: calc(var(--radius-xl) - 1.5px);
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.game-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 15px;
    transition: transform 300ms var(--ease-spring);
}

.game-card:hover .game-icon-wrap {
    transform: scale(1.1);
}

.game-card[data-category="Puzzle"] .game-icon-wrap { background: rgba(99, 102, 241, 0.08); color: var(--cat-puzzle); }
.game-card[data-category="Action"] .game-icon-wrap { background: rgba(234, 88, 12, 0.08); color: var(--cat-action); }
.game-card[data-category="Arcade"] .game-icon-wrap { background: rgba(217, 119, 6, 0.08); color: var(--cat-arcade); }
.game-card[data-category="Board"] .game-icon-wrap { background: rgba(5, 150, 105, 0.08); color: var(--cat-board); }
.game-card[data-category="Memory"] .game-icon-wrap { background: rgba(219, 39, 119, 0.08); color: var(--cat-memory); }
.game-card[data-category="Typing"] .game-icon-wrap { background: rgba(2, 132, 199, 0.08); color: var(--cat-typing); }
.game-card[data-category="Casual"] .game-icon-wrap { background: rgba(225, 29, 72, 0.08); color: var(--cat-casual); }

.game-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.game-cat-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.game-card[data-category="Puzzle"] .game-cat-tag { background: rgba(99, 102, 241, 0.07); color: var(--cat-puzzle); }
.game-card[data-category="Action"] .game-cat-tag { background: rgba(234, 88, 12, 0.07); color: var(--cat-action); }
.game-card[data-category="Arcade"] .game-cat-tag { background: rgba(217, 119, 6, 0.07); color: var(--cat-arcade); }
.game-card[data-category="Board"] .game-cat-tag { background: rgba(5, 150, 105, 0.07); color: var(--cat-board); }
.game-card[data-category="Memory"] .game-cat-tag { background: rgba(219, 39, 119, 0.07); color: var(--cat-memory); }
.game-card[data-category="Typing"] .game-cat-tag { background: rgba(2, 132, 199, 0.07); color: var(--cat-typing); }
.game-card[data-category="Casual"] .game-cat-tag { background: rgba(225, 29, 72, 0.07); color: var(--cat-casual); }

.game-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: auto;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.empty-state-text {
    font-size: 14px;
    color: var(--text-muted);
}

.stats-section {
    padding: 80px 0 120px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.stat-box {
    transition: transform 400ms var(--ease-out);
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-shell {
    background: var(--bg-shell);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5px;
    overflow: hidden;
    transition: all 400ms var(--ease-out);
}

.stat-box:hover .stat-shell {
    border-color: var(--border-hover);
}

.stat-core {
    background: var(--bg-card);
    border-radius: calc(var(--radius-xl) - 1.5px);
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.stat-core::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.puzzle-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-puzzle), transparent); }
.action-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-action), transparent); }
.arcade-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-arcade), transparent); }
.board-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-board), transparent); }
.memory-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-memory), transparent); }
.typing-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-typing), transparent); }
.casual-stat .stat-core::before { background: linear-gradient(90deg, var(--cat-casual), transparent); }

.stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.stat-header i {
    font-size: 16px;
}

.puzzle-stat .stat-header i { color: var(--cat-puzzle); }
.action-stat .stat-header i { color: var(--cat-action); }
.arcade-stat .stat-header i { color: var(--cat-arcade); }
.board-stat .stat-header i { color: var(--cat-board); }
.memory-stat .stat-header i { color: var(--cat-memory); }
.typing-stat .stat-header i { color: var(--cat-typing); }
.casual-stat .stat-header i { color: var(--cat-casual); }

.stat-header h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.stat-box .stat-number {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.puzzle-stat .stat-number { color: var(--cat-puzzle); }
.action-stat .stat-number { color: var(--cat-action); }
.arcade-stat .stat-number { color: var(--cat-arcade); }
.board-stat .stat-number { color: var(--cat-board); }
.memory-stat .stat-number { color: var(--cat-memory); }
.typing-stat .stat-number { color: var(--cat-typing); }
.casual-stat .stat-number { color: var(--cat-casual); }

.stat-bar {
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.stat-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.2s var(--ease-out);
}

.puzzle-stat .stat-fill { background: var(--cat-puzzle); }
.action-stat .stat-fill { background: var(--cat-action); }
.arcade-stat .stat-fill { background: var(--cat-arcade); }
.board-stat .stat-fill { background: var(--cat-board); }
.memory-stat .stat-fill { background: var(--cat-memory); }
.typing-stat .stat-fill { background: var(--cat-typing); }
.casual-stat .stat-fill { background: var(--cat-casual); }

.stat-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg);
    border-radius: 6px;
    font-size: 12px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 13px;
    padding-left: 36px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.footer-links a,
.footer-links button {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 250ms var(--ease-out);
    font-size: 14px;
}

.social-link:hover {
    color: var(--accent);
    border-color: rgba(13, 148, 136, 0.25);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.social-link:active {
    transform: translateY(0) scale(0.95);
}

.social-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.01em;
}

.footer-bottom i {
    color: var(--cat-action);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 400ms var(--ease-out);
    z-index: 50;
    font-size: 14px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--accent);
    border-color: rgba(13, 148, 136, 0.25);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: all 800ms var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.game-card {
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out) forwards;
}

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: calc(100% - 32px);
        padding: 4px 4px 4px 16px;
    }

    .nav-links {
        display: none;
    }

    .search-box {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: clamp(40px, 10vw, 64px);
    }

    .hero-stats {
        gap: 0;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .hero-stat-value {
        font-size: 24px;
    }

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

    .card-core {
        padding: 18px;
        min-height: 140px;
    }

    .game-icon-wrap {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .game-name {
        font-size: 13px;
    }

    .game-cat-tag {
        font-size: 9px;
    }

    .game-desc {
        font-size: 11px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-core {
        padding: 18px;
    }

    .stat-box .stat-number {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .footer-text {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

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

    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
    }

    .category-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .hero-stat {
        padding: 12px 0;
    }

    .hero-stat + .hero-stat::before {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 4px;
    }
}

.privacy-hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.privacy-header {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.privacy-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.7;
}

.privacy-update-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-secondary);
    box-shadow: var(--shadow-ambient);
}

.privacy-update-date i {
    color: var(--accent);
}

.privacy-content {
    padding: 60px 0 100px;
}

.privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 600px;
}

.privacy-toc {
    background: var(--bg-surface);
    border-right: 1px solid var(--border);
    padding: 40px 28px;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.privacy-toc h2 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.privacy-toc ul {
    list-style: none;
}

.privacy-toc li {
    margin-bottom: 4px;
}

.privacy-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 200ms var(--ease-out);
}

.privacy-toc a:hover {
    background: var(--accent-dim);
    color: var(--accent);
    transform: translateX(4px);
}

.privacy-toc a i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

.privacy-toc a:hover i {
    opacity: 1;
}

.privacy-body {
    padding: 48px 56px;
}

.privacy-section {
    margin-bottom: 56px;
    scroll-margin-top: 120px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent-dim);
}

.privacy-section h2 i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 18px;
}

.privacy-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 24px 0 12px;
}

.privacy-section > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.info-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 250ms var(--ease-out);
}

.info-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.info-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 22px;
    margin-bottom: 16px;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.info-item ul {
    list-style: none;
    padding-left: 0;
}

.info-item li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    margin: 28px 0;
    font-size: 14px;
    line-height: 1.7;
}

.notice-box i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-info {
    background: rgba(13, 148, 136, 0.06);
    border: 1px solid rgba(13, 148, 136, 0.15);
    color: #0d9488;
}

.notice-info i {
    color: var(--accent);
}

.notice-warning {
    background: rgba(234, 88, 12, 0.06);
    border: 1px solid rgba(234, 88, 12, 0.15);
    color: #ea580c;
}

.notice-warning i {
    color: #ea580c;
}

.cookie-table-wrapper {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cookie-table thead {
    background: var(--bg-surface);
}

.cookie-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

.cookie-table tbody tr:hover {
    background: var(--bg-surface);
}

.cookie-management {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 28px;
}

.cookie-management h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.cookie-management p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.cookie-management ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.cookie-management li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.cookie-management li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.cookie-warning {
    padding: 14px 18px;
    background: rgba(234, 88, 12, 0.08);
    border-left: 3px solid #ea580c;
    border-radius: var(--radius-sm);
    font-size: 13px !important;
    color: #ea580c !important;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.service-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 250ms var(--ease-out);
}

.service-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-float);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 22px;
    color: var(--accent);
}

.service-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.service-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
}

.service-item > p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 16px;
}

.service-details p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.service-details p:last-child {
    margin-bottom: 0;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms var(--ease-out);
}

.external-link:hover {
    gap: 10px;
    color: var(--accent-hover);
}

.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.measure-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 250ms var(--ease-out);
}

.measure-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.measure-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 16px;
}

.measure-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.measure-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.right-item {
    display: flex;
    gap: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 250ms var(--ease-out);
}

.right-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.right-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 800;
}

.right-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.right-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.rights-action {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 28px;
}

.rights-action h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.rights-action p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.coppa-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.02) 100%);
    border: 2px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin: 28px 0;
}

.coppa-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.coppa-header i {
    font-size: 28px;
    color: var(--accent);
}

.coppa-header h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.coppa-list {
    list-style: none;
    padding: 0;
}

.coppa-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border);
}

.coppa-list li:last-child {
    border-bottom: none;
}

.coppa-list li i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.parental-guidance {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 28px;
}

.parental-guidance h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.parental-guidance p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.parental-guidance ol {
    padding-left: 24px;
}

.parental-guidance li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.updates-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 200ms var(--ease-out);
}

.reason-item:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.reason-item i {
    color: var(--accent);
    font-size: 18px;
}

.update-process {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 28px;
}

.update-process h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 800;
}

.step-content {
    flex: 1;
    padding-top: 6px;
}

.step-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 250ms var(--ease-out);
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 26px;
    margin: 0 auto 16px;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 200ms var(--ease-out);
}

.contact-link:hover {
    background: var(--accent-hover);
    gap: 12px;
}

.contact-note {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
}

.response-time {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.02) 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
    border-radius: var(--radius-lg);
    margin-top: 28px;
}

.response-time i {
    font-size: 24px;
    color: var(--accent);
    margin-top: 2px;
}

.response-time p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.privacy-footer-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #fff;
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: all 250ms var(--ease-out);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.site-footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: all 200ms var(--ease-out);
}

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

.footer-logo i {
    font-size: 1.75rem;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 200ms var(--ease-out);
    position: relative;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a.active {
    color: var(--accent);
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1024px) {
    .privacy-card {
        grid-template-columns: 1fr;
    }

    .privacy-toc {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 28px 32px;
    }

    .privacy-toc ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .privacy-toc li {
        margin-bottom: 0;
    }

    .privacy-toc a {
        padding: 8px 16px;
        font-size: 13px;
    }

    .privacy-body {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 120px 0 60px;
    }

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

    .privacy-body {
        padding: 32px 24px;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .info-grid,
    .security-measures,
    .rights-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .rights-item {
        flex-direction: column;
        gap: 12px;
    }

    .right-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .updates-reasons {
        grid-template-columns: 1fr;
    }

    .cookie-table-wrapper {
        margin: 20px -24px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .privacy-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .privacy-update-date {
        font-size: 13px;
        padding: 10px 16px;
    }

    .privacy-toc {
        padding: 20px 20px;
    }

    .privacy-toc ul {
        flex-direction: column;
    }

    .privacy-toc a {
        width: 100%;
    }

    .privacy-body {
        padding: 24px 20px;
    }

    .info-item,
    .service-item,
    .measure-card,
    .contact-card {
        padding: 20px;
    }

    .coppa-box {
        padding: 24px;
    }

    .update-process {
        padding: 24px 20px;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 15px;
    }
}

.about-content {
    padding: 60px 0 100px;
}

.about-section {
    margin-bottom: 80px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-float);
}

.intro-highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.intro-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.intro-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.intro-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-stat-num {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.intro-stat-label {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
}

.intro-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.intro-body {
    padding: 32px 40px;
}

.intro-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.intro-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.vm-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all 300ms var(--ease-out);
}

.vm-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.vm-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: 28px;
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.vm-card > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.vm-list {
    list-style: none;
    padding: 0;
}

.vm-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.vm-list li i {
    color: var(--accent);
}

.tech-stack-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 250ms var(--ease-out);
}

.tech-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-ambient);
    transform: translateY(-2px);
}

.tech-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 28px;
    margin-bottom: 16px;
}

.tech-html5 .tech-logo { background: rgba(227, 79, 38, 0.1); color: #e34f26; }
.tech-css3 .tech-logo { background: rgba(2, 119, 189, 0.1); color: #0277bd; }
.tech-js .tech-logo { background: rgba(247, 223, 30, 0.1); color: #f7df1e; }

.tech-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tags span {
    padding: 4px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.tech-extra {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.extra-tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.extra-tech-item i {
    color: var(--accent);
    font-size: 16px;
}

.opensource-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-float);
}

.opensource-badge {
    background: linear-gradient(135deg, #24292e 0%, #1a1e22 100%);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.opensource-badge i {
    font-size: 40px;
}

.opensource-badge strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.opensource-badge span {
    font-size: 13px;
    opacity: 0.7;
}

.opensource-details {
    padding: 32px 36px;
}

.opensource-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.opensource-info-item {
    display: flex;
    gap: 14px;
}

.opensource-info-item > i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 16px;
    flex-shrink: 0;
}

.opensource-info-item h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.opensource-info-item a,
.opensource-info-item span {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.opensource-info-item a:hover {
    color: var(--accent);
}

.opensource-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.developer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    text-align: center;
    transition: all 250ms var(--ease-out);
    display: flex;
    flex-direction: column;
}

.developer-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.dev-avatar {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 36px;
    margin: 0 auto 20px;
}

.invite-avatar {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--border) 100%);
    color: var(--text-muted);
    border: 2px dashed var(--border);
}

.developer-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.dev-role {
    display: inline-block;
    padding: 4px 14px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
}

.dev-bio {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.dev-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.dev-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    transition: all 200ms var(--ease-out);
}

.dev-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-item-active .timeline-dot {
    background: #0f766e;
    box-shadow: 0 0 0 3px var(--accent), 0 0 16px var(--accent);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    transition: all 250ms var(--ease-out);
}

.timeline-content:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.acknowledgements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all 250ms var(--ease-out);
}

.ack-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.ack-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 16px;
}

.ack-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.ack-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.category-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 300ms var(--ease-out);
}

.category-showcase-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-float);
    transform: translateY(-3px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 16px;
}

.category-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 22px;
    flex-shrink: 0;
}

.puzzle-color { background: rgba(99, 102, 241, 0.1); color: var(--cat-puzzle); }
.action-color { background: rgba(234, 88, 12, 0.1); color: var(--cat-action); }
.arcade-color { background: rgba(217, 119, 6, 0.1); color: var(--cat-arcade); }
.board-color { background: rgba(5, 150, 105, 0.1); color: var(--cat-board); }
.memory-color { background: rgba(219, 39, 119, 0.1); color: var(--cat-memory); }
.typing-color { background: rgba(2, 132, 199, 0.1); color: var(--cat-typing); }
.casual-color { background: rgba(225, 29, 72, 0.1); color: var(--cat-casual); }

.category-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.category-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.category-desc {
    padding: 0 24px 16px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.games-list {
    display: flex;
    flex-direction: column;
    padding: 0 20px 20px;
    max-height: 280px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
}

.games-list::-webkit-scrollbar {
    width: 4px;
}

.games-list::-webkit-scrollbar-track {
    background: transparent;
}

.games-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.game-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 200ms var(--ease-out);
}

.game-link-item:hover {
    background: var(--accent-dim);
    color: var(--accent);
    transform: translateX(4px);
}

.game-link-item i {
    width: 18px;
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
}

.game-link-item:hover i {
    opacity: 1;
}

@media (max-width: 1024px) {
    .categories-showcase {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 40px 0 80px;
    }

    .about-section {
        margin-bottom: 56px;
    }

    .intro-highlight {
        padding: 28px 20px;
    }

    .intro-icon {
        font-size: 36px;
    }

    .intro-stats-row {
        gap: 24px;
    }

    .intro-stat-num {
        font-size: 28px;
    }

    .intro-body {
        padding: 24px 20px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 28px 24px;
    }

    .tech-main {
        grid-template-columns: 1fr;
    }

    .opensource-badge {
        padding: 24px;
        flex-direction: column;
        text-align: center;
    }

    .opensource-details {
        padding: 24px 20px;
    }

    .opensource-info-grid {
        grid-template-columns: 1fr;
    }

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

    .developer-card {
        padding: 28px 20px;
    }

    .categories-showcase {
        grid-template-columns: 1fr;
    }

    .category-header {
        padding: 20px 20px 12px;
    }

    .games-list {
        max-height: 220px;
        padding: 0 16px 16px;
    }

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

    .timeline {
        padding-left: 32px;
    }

    .timeline::before {
        left: 11px;
    }

    .timeline-dot {
        left: -27px;
    }
}

@media (max-width: 480px) {
    .intro-stats-row {
        flex-direction: column;
        gap: 16px;
    }

    .intro-stat-divider {
        width: 40px;
        height: 1px;
    }

    .tech-extra {
        flex-direction: column;
        align-items: stretch;
    }

    .opensource-actions {
        flex-direction: column;
    }

    .opensource-actions .contact-link {
        justify-content: center;
    }

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

    .game-link-item {
        padding: 8px 10px;
        font-size: 12px;
    }
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    padding: 48px;
    max-width: 720px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: all 200ms var(--ease-out);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
    background: var(--bg-card);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 300ms var(--ease-out);
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.35);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success i {
    font-size: 64px;
    color: var(--accent);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 15px;
    color: var(--text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 250ms var(--ease-out);
}

.faq-item.open {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: all 200ms var(--ease-out);
}

.faq-question:hover {
    background: var(--bg-surface);
}

.faq-question i {
    color: var(--accent);
    font-size: 12px;
    transition: transform 300ms var(--ease-out);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms var(--ease-out);
}

.faq-answer > * {
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.faq-answer li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.social-media-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all 300ms var(--ease-out);
}

.social-media-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-float);
}

.social-media-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    transition: transform 300ms var(--ease-spring);
}

.social-media-card:hover .social-media-icon {
    transform: scale(1.1) rotate(-5deg);
}

.github-color { background: linear-gradient(135deg, #24292e 0%, #444d56 100%); }
.email-color { background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%); }
.qq-color { background: linear-gradient(135deg, #12b7f5 0%, #0e8dc5 100%); }

.social-media-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.social-media-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.social-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 28px 20px;
    }

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

    .submit-btn {
        width: 100%;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-answer > * {
        padding: 0 18px 16px;
    }

    .social-media-grid {
        grid-template-columns: 1fr;
    }

    .social-media-card {
        padding: 28px 20px;
    }
}
