﻿:root {
    --page-bg: #121212;
    --card-bg: #191919;
    --card-bg-dark: #151515;
    --accent: #ff3b3b;
    --accent-soft: rgba(255, 59, 59, 0.35);
    --text-primary: #f5f5f5;
    --text-muted: #b3b3b3;
    --border: rgba(255, 255, 255, 0.06);
    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 18px;
    --shadow-hero: 0 50px 100px -60px rgba(255, 59, 59, 0.6);
    --shadow-card: 0 30px 60px -40px rgba(0, 0, 0, 0.8);
    --featured-card-height: 200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, rgba(255, 59, 59, 0.12), transparent 35%), var(--page-bg);
    color: var(--text-primary);
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

section {
    scroll-margin-top: 120px;
}

#top {
    scroll-margin-top: 140px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(12, 12, 12, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.brand-logo {
    width: 78px;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(255, 59, 59, 0.45));
}

.brand-name {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
    text-transform: uppercase;
    color: rgba(245, 245, 245, 0.92);
    font-size: 0.85rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(245, 245, 245, 0.65);
    transition: color 200ms ease;
}

.site-nav a:hover {
    color: var(--accent);
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--accent);
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.75rem;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -18px rgba(255, 59, 59, 0.8);
}

.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 28px 120px;
    display: flex;
    flex-direction: column;
    gap: 160px;
}

.hero-section {
    position: relative;
}

.hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
    gap: 48px;
    padding: 56px 60px;
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, rgba(32, 32, 32, 0.05) 0%, rgba(12, 12, 12, 0.02) 85%);
    background-color: rgba(18, 18, 18, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 46px 90px -72px rgba(255, 59, 59, 0.38);
    backdrop-filter: blur(38px) saturate(130%);
    -webkit-backdrop-filter: blur(38px) saturate(130%);
    overflow: visible;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 74%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.35;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 150px;
}

.hero-frame {
    position: relative;
    border-radius: 26px;
    padding: 6px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 59, 59, 0.4) 100%);
    box-shadow: 0 25px 60px -40px rgba(255, 59, 59, 0.8);
    overflow: hidden;
    width: 420px;
    height: 420px;
}

.hero-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.68) 96%);
    z-index: 2;
    pointer-events: none;
}

.hero-photo {
    display: block;
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    filter: grayscale(100%);
    position: relative;
    z-index: 1;
}


.hero-nameplate-main {
    position: absolute;
    bottom: 68px;
    left: 50%;
    transform: translateX(-46%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
    align-items: flex-start;
    text-align: left;
    text-shadow: 0 16px 32px rgba(0, 0, 0, 0.72);
}

.hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: clamp(2.4rem, 3.2vw, 3rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 700;
}

.hero-title span {
    display: block;
    letter-spacing: 0.22em;
}

.hero-title span:first-child {
    letter-spacing: 0.18em;
}

.hero-title span:last-child {
    letter-spacing: 0.3em;
}

.hero-tagline {
    margin: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(255, 59, 59, 0.35);
    white-space: nowrap;
}

.hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 20px;
}

.hero-right h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.1rem);
    text-transform: uppercase;
    letter-spacing: 0.32em;
}

.hero-lead {
    margin: 0;
    max-width: none;
    color: rgba(245, 245, 245, 0.78);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-indent: 0.4em;
    white-space: nowrap;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.65), 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 10px;
    --line-center: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: calc(var(--line-center) - 1px);
    left: 0;
    right: -4px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 59, 59, 0.8) 0%, rgba(255, 59, 59, 0.4) 100%);
    opacity: 0.9;
}

.timeline::after {
    content: '';
    position: absolute;
    top: calc(var(--line-center) - 6px);
    right: -4px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--accent);
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    background: transparent;
}

.timeline article {
    position: relative;
    padding-top: calc(var(--line-center) + 20px);
}

.timeline article::before {
    content: '';
    position: absolute;
    top: calc(var(--line-center) - 6px);
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(255, 59, 59, 0.2);
    transform: translateX(-46%);
}

.timeline article:first-child::before {
    left: 0;
    transform: none;
}

.timeline h3 {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.92);
    margin: 0 0 12px;
}

.timeline p {
    margin: 0;
    color: rgba(245, 245, 245, 0.7);
    font-size: 0.92rem;
}

.hero-logo-bubble {
    position: absolute;
    bottom: -92px;
    left: -78px;
    width: 140px;
    height: 140px;
    border-radius: 32px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 59, 59, 0.28), transparent 65%), rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 28px 60px -46px rgba(255, 59, 59, 0.85), 0 16px 44px -34px rgba(0, 0, 0, 0.88);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    transform: rotate(-6deg);
}

.hero-logo-bubble img {
    width: 100%;
    height: auto;
    display: block;
}

.what-i-do {
    position: relative;
}

.what-i-do h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    margin-bottom: 48px;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

section h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    margin-bottom: 28px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.what-i-do .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 16px;
}

.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.card-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    max-width: 140px;
}

.card-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.mini-card {
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.15), 0 8px 32px rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    transition: all 300ms ease;
    text-align: center;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    animation: cardOpacityPulse 4s ease-in-out infinite;
}

.mini-card .monogram {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

@keyframes cardOpacityPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.98);
    }
}

.mini-card .monogram {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.mini-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background:
        linear-gradient(45deg, transparent 38%, rgba(255, 255, 255, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.06) 45%, transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 25%, transparent 50%, rgba(0, 0, 0, 0.08) 75%, rgba(0, 0, 0, 0.16) 100%),
        linear-gradient(-45deg, transparent 35%, rgba(255, 255, 255, 0.05) 50%, transparent 65%),
        linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.06) 50%, transparent 75%);
    background-size: 200px 200px, 180px 180px, 100% 100%, 150px 150px, 160px 160px;
    background-position: 0 0, 50px 50px, 0 0, 25px 75px, 75px 25px;
    animation: infiniteFlow 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes infiniteFlow {
    0% {
        background-position: 0 0, 50px 50px, 0 0, 25px 75px, 75px 25px;
    }
    25% {
        background-position: 50px 25px, 25px 75px, 0 0, 75px 50px, 25px 75px;
    }
    50% {
        background-position: 100px 50px, 0 100px, 0 0, 50px 25px, 0 50px;
    }
    75% {
        background-position: 75px 75px, 75px 25px, 0 0, 25px 0, 50px 0;
    }
    100% {
        background-position: 200px 200px, 200px 200px, 0 0, 200px 200px, 200px 200px;
    }
}

.featured-card::before,
.featured-card::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(11.1px);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.68;
    z-index: 1;
}

.featured-card::before {
    top: -92px;
    right: -92px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 58%, transparent 100%);
    animation: orbitTR 9s ease-in-out infinite;
}

.featured-card::after {
    bottom: -92px;
    left: -92px;
    background: radial-gradient(circle, rgba(210, 210, 255, 0.18) 0%, rgba(210, 210, 255, 0.04) 58%, transparent 100%);
    animation: orbitBL 9s ease-in-out infinite;
}

@keyframes orbitTR {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-38px, 34px);
    }
    50% {
        transform: translate(-58px, 10px);
    }
    75% {
        transform: translate(-34px, -30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes orbitBL {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(38px, -34px);
    }
    50% {
        transform: translate(58px, -10px);
    }
    75% {
        transform: translate(34px, 30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.mini-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 220ms ease;
    border-radius: 14px;
}

.mini-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 68, 68, 0.45);
    box-shadow: 0 18px 54px rgba(255, 68, 68, 0.28), 0 15px 46px rgba(0, 0, 0, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.18);
    background: rgba(34, 34, 34, 0.62);
}

.monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4444;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5.6rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1;
}



.mini-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.tools-shell {
    position: relative;
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 60px 64px;
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, rgba(32, 32, 32, 0.05) 0%, rgba(12, 12, 12, 0.02) 85%);
    background-color: rgba(18, 18, 18, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 46px 90px -72px rgba(255, 59, 59, 0.38);
    backdrop-filter: blur(32px) saturate(130%);
    -webkit-backdrop-filter: blur(32px) saturate(130%);
    overflow: hidden;
}

.tools-shell::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 74%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.28;
    mix-blend-mode: screen;
    pointer-events: none;
}

.tools-shell > * {
    position: relative;
    z-index: 1;
}

.tools-heading {
    margin: 0;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #ffffff;
    font-weight: 700;
}

.tools-collection {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 42px;
}

.tools-card {
    position: relative;
    background: radial-gradient(135% 135% at 50% 50%, rgba(3, 3, 3, 0.95) 0%, rgba(18, 18, 18, 0.9) 42%, rgba(42, 42, 42, 0.68) 92%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 48px;
    min-height: 200px;
    box-shadow: 0 24px 66px -42px rgba(0, 0, 0, 0.74), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow: hidden;
}

.tools-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background:
        radial-gradient(120% 120% at 12% 18%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 55%, transparent 78%),
        radial-gradient(120% 120% at 88% 82%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04) 55%, transparent 78%);
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
}

.tools-card > * {
    position: relative;
    z-index: 1;
}

.tools-card-title {
    margin: 0;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245, 245, 245, 0.92);
    font-weight: 700;
    text-align: center;
}

.tools-icon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.tool-icon {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.92), rgba(35, 35, 35, 0.7));
    padding: 13px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1), 0 14px 24px -22px rgba(0, 0, 0, 0.6);
}

/* About Section Redesign */
.about {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
}

.about-container {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(18, 18, 18, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 34px 26px;
    box-shadow: 0 32px 80px -40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.about-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 120% at 20% 20%, rgba(255, 59, 59, 0.15), transparent 65%),
        radial-gradient(120% 120% at 80% 80%, rgba(255, 59, 59, 0.1), transparent 65%);
    pointer-events: none;
}

.about-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 700;
    position: relative;
}

.about-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-section {
    position: relative;
}

.section-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
    color: var(--accent);
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.85);
    margin: 0;
    text-align: justify;
}

.section-text.highlight {
    color: rgba(245, 245, 245, 0.95);
    font-style: italic;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: rgba(255, 59, 59, 0.05);
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    align-self: flex-start;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-shadow: 0 4px 8px rgba(255, 59, 59, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(245, 245, 245, 0.7);
    font-weight: 500;
}

/* Featured Projects Section */
.featured-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    margin-bottom: 24px;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
}

.featured-instruction {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 48px;
    color: rgba(245, 245, 245, 0.7);
    text-align: center;
    font-weight: 500;
    font-style: italic;
}

.featured-cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
}

.featured-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

.featured-card-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card-button:hover {
    transform: translateY(-4px);
}

.featured-card-button.active .featured-card {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 68, 68, 0.5);
    box-shadow: 0 16px 50px rgba(255, 68, 68, 0.25), 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 8px 32px rgba(255, 255, 255, 0.15);
    background: rgba(34, 34, 34, 0.6);
}

.featured-card {
    background: radial-gradient(circle at center, rgba(72, 72, 72, 0.95) 0%, rgba(36, 36, 36, 0.88) 48%, rgba(24, 24, 24, 0.58) 94%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 66px -42px rgba(0, 0, 0, 0.74), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: all 300ms ease;
    text-align: center;
    width: 100%;
    height: var(--featured-card-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.featured-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4444;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    margin: 0;
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    line-height: 1;
}

.featured-card-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffffff;
    margin: 16px 0 16px 0;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.card-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 32px;
    height: 32px;
    margin: auto;
    color: rgba(245, 245, 245, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-arrow svg {
    width: 32px;
    height: 32px;
}

.featured-card-button:hover .card-arrow {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-6px);
}

.featured-card > * {
    position: relative;
    z-index: 3;
}

/* Featured Expanded State */
.featured-expanded-state {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease-in-out;
    width: 100%;
}

.featured-expanded-state.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.featured-expanded-state.expanding .expanded-long-card {
    animation: expandWidth 0.6s ease-out forwards;
}

.featured-expanded-state.shrinking .expanded-long-card {
    animation: shrinkWidth 0.4s ease-in forwards;
}

@keyframes shrinkWidth {
    0% {
        width: calc(100vw - 48px);
        max-width: 860px;
        transform: translateX(0);
    }
    100% {
        width: 300px;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    0% {
        width: 300px;
        transform: translateX(0);
    }
    100% {
        width: calc(100vw - 48px);
        max-width: 860px;
        transform: translateX(0);
    }
}

.expanded-long-card {
    position: relative;
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 28px 40px;
    margin: 0 auto 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    max-width: 860px;
    height: var(--featured-card-height);
    min-height: var(--featured-card-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.long-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.long-card-back-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.long-card-back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-6px);
}

.long-card-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    text-align: right;
    flex: 0 0 auto;
}

.long-card-monogram {
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.6rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
}

.long-card-title {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    text-align: left;
    flex: 1;
    line-height: 1.3;
    white-space: nowrap;
}

.info-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out 0.6s;
}

.featured-expanded-state.active .info-cards-container {
    opacity: 1;
    transform: translateY(0);
}

.info-card {
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: var(--featured-card-height);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(255, 59, 59, 0.18);
    border-color: rgba(255, 59, 59, 0.35);
}

.info-card h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.info-card p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.75);
    margin: 0;
    line-height: 1.5;
}

/* Game Categories and Video Links */
.game-categories-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out 0.6s;
}

.featured-expanded-state.active .game-categories-container {
    opacity: 1;
    transform: translateY(0);
}

.game-category {
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(255, 59, 59, 0.18);
    border-color: rgba(255, 59, 59, 0.35);
    background: rgba(34, 34, 34, 0.9);
}

.game-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-category:hover::before {
    opacity: 1;
}

.game-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 0;
    font-weight: 600;
}

.game-description {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.75);
    margin: 0;
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.game-arrow {
    color: rgba(245, 245, 245, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
}

.game-category:hover .game-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* Video Links State */
.video-links-state {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease-in-out;
    width: 100%;
}

.video-links-state.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.video-links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease-out 0.6s;
}

.video-links-state.active .video-links-container {
    opacity: 1;
    transform: translateY(0);
}

.video-link-item {
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.video-link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 59, 59, 0.15);
    border-color: rgba(255, 59, 59, 0.3);
    background: rgba(30, 30, 30, 0.9);
}

.video-link-item h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(245, 245, 245, 0.9);
    margin: 0;
    font-weight: 600;
}

.video-link-item p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.7);
    margin: 0;
    line-height: 1.4;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #111;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 8px;
}

.video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.4);
    background: rgba(255, 79, 79, 1);
}

.game-monogram {
    color: var(--accent);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.6rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    margin: 0;
}

@media (max-width: 980px) {
    .header-inner {
        gap: 18px;
    }

    .site-nav {
        display: none;
    }

    .hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
    gap: 48px;
    padding: 56px 60px;
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, rgba(32, 32, 32, 0.05) 0%, rgba(12, 12, 12, 0.02) 85%);
    background-color: rgba(18, 18, 18, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 46px 90px -72px rgba(255, 59, 59, 0.38);
    backdrop-filter: blur(38px) saturate(130%);
    -webkit-backdrop-filter: blur(38px) saturate(130%);
    overflow: visible;
}

    .hero-left {
        padding-bottom: 0;
    }

    .hero-nameplate-main {
        position: static;
        margin-top: 28px;
        text-shadow: none;
        transform: none;
        left: auto;
        bottom: auto;
        gap: 8px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-tagline {
        white-space: normal;
    }

    .hero-lead {
        white-space: normal;
        text-indent: 0;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline::before,
    .timeline::after {
        display: none;
    }

    .timeline article {
        padding-top: 0;
    }

    .timeline article::before {
        top: 0;
        left: 0;
        transform: none;
    }

    .hero-logo-bubble {
        bottom: -70px;
        left: -48px;
        width: 120px;
        height: 120px;
        padding: 6px;
        z-index: -1;
        transform: rotate(-6deg);
    }

    .tools-shell {
        max-width: 100%;
        padding: 44px 40px 52px;
    }

    .tools-collection {
        gap: 30px;
    }

    .tools-card {
        padding: 32px 36px;
        min-height: 180px;
        gap: 26px;
    }

    .tools-icon-row {
        gap: 28px;
    }

    .tool-icon {
        width: 74px;
        height: 74px;
        border-radius: 18px;
        padding: 12px;
    }
}



@media (max-width: 640px) {
    .header-inner {
        padding: 16px 20px;
    }

    section {
        scroll-margin-top: 96px;
    }

    #top {
        scroll-margin-top: 110px;
    }

    .page {
        padding: 48px 18px 96px;
        gap: 64px;
    }

    .hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr);
    gap: 48px;
    padding: 56px 60px;
    border-radius: var(--radius-xl);
    background: linear-gradient(150deg, rgba(32, 32, 32, 0.05) 0%, rgba(12, 12, 12, 0.02) 85%);
    background-color: rgba(18, 18, 18, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 46px 90px -72px rgba(255, 59, 59, 0.38);
    backdrop-filter: blur(38px) saturate(130%);
    -webkit-backdrop-filter: blur(38px) saturate(130%);
    overflow: visible;
}

    .hero-nameplate-main {
        gap: 4px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 0.14em;
        white-space: normal;
    }

    section h2 {
        font-size: 1.4rem;
        letter-spacing: 0.26em;
    }

    .what-i-do {
        padding: 0;
    }

    .what-i-do .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    .what-i-do h2 {
        font-size: 1.8rem;
        margin-bottom: 32px;
        text-align: center;
    }

    .mini-card {
        width: 180px;
        height: 180px;
        padding: 32px 24px;
        border-radius: 30px;
    }

    .monogram {
        font-size: 4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }


    .card-label {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        max-width: 120px;
    }

    .hero-logo-bubble {
        position: static;
        margin: 18px auto 0;
        width: 120px;
        height: 120px;
        padding: 6px;
        transform: rotate(-4deg);
    }

    .about-card {
        padding: 38px 28px;
    }

    .tools-shell {
        padding: 32px 24px 42px;
    }

    .tools-heading {
        font-size: 2rem;
        letter-spacing: 0.24em;
    }

    .tools-card {
        padding: 26px 24px;
        gap: 22px;
        min-height: 0;
    }

    .tools-card-title {
        font-size: 1.1rem;
        letter-spacing: 0.16em;
    }

    .tools-icon-row {
        gap: 16px;
    }

    .tool-icon {
        width: 62px;
        height: 62px;
        padding: 10px;
        border-radius: 14px;
    }

    .featured-cards-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .featured-card-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .featured-card {
        height: calc(var(--featured-card-height) * 0.9);
        padding: 32px 36px;
    }

    .featured-monogram {
        font-size: 4.2rem;
    }

    .featured-card-title {
        font-size: 0.95rem;
    }

    .overlay-content {
        padding: 20px;
    }

    .overlay-back-btn {
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .overlay-main-card {
        padding: 40px 30px;
        margin-bottom: 40px;
    }

    .overlay-monogram {
        font-size: 6rem;
        margin-bottom: 15px;
    }

    .overlay-title {
        font-size: 1.4rem;
    }

    .overlay-subframes {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .subframe {
        padding: 25px 20px;
    }

    .expanded-card-container {
        margin-bottom: 30px;
    }

    .expanded-back-btn {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
    }

    .expanded-main-card {
        padding: 35px 25px;
    }

    .expanded-monogram {
        font-size: 5rem;
        margin-bottom: 15px;
    }

    .expanded-title {
        font-size: 1.3rem;
    }

    .expanded-subframes {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .featured-card.expanded {
        width: calc(100vw - 36px);
        height: 450px;
    }

    .card-expanded-monogram {
        font-size: 5rem;
        margin-bottom: 15px;
    }

    .card-expanded-title {
        font-size: 1.3rem;
    }

    .card-expanded-subframes {
        gap: 20px;
        max-width: 350px;
    }

    .long-card-back-btn {
        width: 48px;
        height: 48px;
    }

    .expanded-long-card {
        padding: 24px 22px;
        height: auto;
        min-height: calc(var(--featured-card-height) * 1.4);
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .long-card-content {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
    }

    .long-card-monogram {
        font-size: 3.8rem;
    }

    .long-card-title {
        font-size: 1.2rem;
        letter-spacing: 0.14em;
        white-space: normal;
    }

    .info-cards-container {
        gap: 16px;
        max-width: 100%;
    }

    .info-card {
        padding: 24px 22px;
        min-height: auto;
    }

    .game-categories-container {
        gap: 16px;
        max-width: 100%;
    }

    .game-category {
        padding: 24px 22px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .game-description {
        padding: 0;
        text-align: center;
    }

    .game-arrow {
        order: -1;
    }

    .game-category:hover .game-arrow {
        transform: translateY(-2px);
    }

    .video-links-container {
        gap: 16px;
        max-width: 100%;
    }

    .video-link-item {
        padding: 20px 18px;
    }

    .video-link-item h4 {
        font-size: 0.9rem;
    }

    .video-link-item p {
        font-size: 0.85rem;
    }

    .video-link {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    /* About Section Mobile */
    .about {
        padding: 0 20px;
    }

    .about-container {
        padding: 48px 32px;
    }

    .about-title {
        font-size: 2rem;
        letter-spacing: 0.24em;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-text {
        gap: 32px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-text {
        font-size: 0.95rem;
        text-align: left;
    }

    .about-stats {
        padding: 32px 24px;
        gap: 24px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}



























