/**
 * DarkThrone Game - Epic Landing Page Styles
 * Video Game Trailer Style
 */

/* ==========================================================================
   Global Landing Page Mobile Fixes
   ========================================================================== */

.landing-page {
    overflow-x: hidden;
}

.landing-main {
    overflow-x: hidden;
}

/* ==========================================================================
   Hero Section - Cinematic Full Screen
   ========================================================================== */

.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 5, 2, 0.4) 0%, rgba(2, 5, 2, 0.2) 30%, rgba(2, 5, 2, 0.6) 70%, rgba(2, 5, 2, 1) 100%),
        radial-gradient(ellipse 80% 50% at 50% 30%, transparent 0%, rgba(2, 5, 2, 0.8) 100%);
}

.hero-cinematic .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Alpha Badge */
.alpha-badge-container {
    margin-bottom: 1.5rem;
    animation: floatBadge 4s ease-in-out infinite, fadeInDown 1s ease both;
}

.alpha-badge {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(100, 100, 100, 0.5));
    transition: transform 0.3s ease;
}

.alpha-badge:hover {
    transform: scale(1.1);
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Hero Title */
.hero-cinematic .hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-cinematic .title-line {
    display: block;
}

.hero-cinematic .title-line.highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 40px var(--color-primary-glow));
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Hero Tagline */
.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Hero CTA */
.hero-cta {
    margin-bottom: 3rem;
}

/* Glowing Button */
.btn-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    background-size: 200% auto;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px var(--color-primary-glow),
        0 0 40px rgba(var(--color-primary-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glow:hover {
    background-position: 100% center;
    transform: translateY(-3px);
    box-shadow:
        0 0 30px var(--color-primary-glow),
        0 0 60px rgba(var(--color-primary-rgb), 0.4),
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-glow .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Live Stats */
.live-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 20px var(--color-primary-glow);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(10px); opacity: 0.5; }
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-showcase {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(20, 30, 20, 0.8) 0%, rgba(10, 15, 10, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

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

/* ==========================================================================
   Screenshots Gallery Section
   ========================================================================== */

.screenshots-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.screenshot-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 10;
    transition: all 0.4s ease;
    cursor: pointer;
}

.screenshot-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.screenshot-item:hover::before {
    opacity: 1;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* Screenshot Label */
.screenshot-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.screenshot-item:hover .screenshot-label {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-item.large .screenshot-label {
    font-size: 1.1rem;
    padding: 1.25rem;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 1rem;
        right: 1rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--color-primary-glow));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-content {
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Paths Section (Races & Classes)
   ========================================================================== */

.paths-section {
    position: relative;
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.paths-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--color-bg) 0%, transparent 20%, transparent 80%, var(--color-bg) 100%),
        radial-gradient(ellipse 100% 50% at 50% 50%, color-mix(in srgb, var(--color-primary) 8%, transparent) 0%, transparent 70%);
}

.paths-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.path-group {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.path-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.path-icon {
    font-size: 1.5rem;
}

.path-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.path-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.path-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
    transform: translateX(5px);
}

.path-name {
    font-weight: 600;
    color: #fff;
}

.path-bonus {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    background: color-mix(in srgb, var(--color-primary) 15%, transparent);
    border-radius: 100px;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta {
    padding: 8rem 1.5rem;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, color-mix(in srgb, var(--color-primary) 15%, transparent) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-badge {
    width: 100px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(100, 100, 100, 0.4));
    animation: floatBadge 4s ease-in-out infinite;
}

.final-cta h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   Footer Override
   ========================================================================== */

.landing-page .landing-footer {
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .screenshot-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero-cinematic {
        padding: 5rem 1rem 3rem;
    }

    .alpha-badge {
        width: 90px;
    }

    .live-stats {
        flex-wrap: wrap;
        gap: 1rem 2rem;
        padding: 1.25rem 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .features-showcase,
    .screenshots-section,
    .paths-section {
        padding: 4rem 1rem;
    }

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

    .screenshots-gallery {
        grid-template-columns: 1fr;
    }

    .screenshot-item.large {
        grid-column: span 1;
    }

    .screenshot-label {
        opacity: 1;
        transform: translateY(0);
    }

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

    .btn-glow {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Ensure section headers don't overflow */
    .section-header {
        padding: 0 0.5rem;
    }

    .section-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-desc {
        padding: 0;
    }
}

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

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

    .live-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .path-group {
        padding: 1.5rem;
    }

    /* Mobile Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-tag {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .section-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    /* Mobile Features Section */
    .features-showcase {
        padding: 4rem 1rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .feature-content h3 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.875rem;
    }

    /* Mobile Screenshots Section */
    .screenshots-section {
        padding: 4rem 1rem;
    }

    .screenshot-item {
        aspect-ratio: 16 / 9;
    }

    .screenshot-label {
        font-size: 0.8rem;
        padding: 0.75rem;
    }

    .screenshot-item.large .screenshot-label {
        font-size: 0.9rem;
        padding: 0.875rem;
    }

    /* Mobile Paths Section */
    .paths-section {
        padding: 4rem 1rem;
    }

    .path-title {
        font-size: 1.1rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .path-icon {
        font-size: 1.25rem;
    }

    .path-items {
        gap: 0.75rem;
    }

    .path-item {
        padding: 0.875rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .path-name {
        font-size: 0.9rem;
    }

    .path-bonus {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    /* Mobile Final CTA */
    .final-cta {
        padding: 5rem 1rem;
    }

    .cta-badge {
        width: 80px;
        margin-bottom: 1.5rem;
    }

    .final-cta h2 {
        font-size: 1.75rem;
    }

    .final-cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

/* Intersection Observer Animation Triggers */
.features-showcase,
.paths-section,
.final-cta {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.features-showcase { animation-delay: 0.1s; }
.paths-section { animation-delay: 0.2s; }
.final-cta { animation-delay: 0.3s; }

/* ==========================================================================
   Mobile-First Section Intro Boxes
   ========================================================================== */

/* Section intro container - the dark box with button, title, and description */
.section-intro {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(15, 25, 15, 0.9) 0%, rgba(10, 18, 10, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--color-primary);
    border-radius: 12px;
    box-shadow: 0 0 30px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.section-intro .section-tag {
    margin-bottom: 0;
    white-space: nowrap;
}

.section-intro .section-title {
    text-align: center;
    margin-bottom: 0;
}

.section-intro .section-desc {
    text-align: right;
    max-width: 300px;
    margin: 0;
    font-size: 0.95rem;
}

/* Tablet breakpoint for section intro */
@media (max-width: 1024px) {
    .section-intro {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem 2rem;
        padding: 1.75rem 2rem;
    }

    .section-intro .section-tag {
        grid-row: 1;
        grid-column: 1;
    }

    .section-intro .section-title {
        grid-row: 1;
        grid-column: 2;
        text-align: left;
    }

    .section-intro .section-desc {
        grid-row: 2;
        grid-column: 1 / -1;
        text-align: left;
        max-width: none;
    }
}

/* Mobile breakpoint for section intro */
@media (max-width: 768px) {
    .section-intro {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .section-intro .section-tag {
        order: 1;
    }

    .section-intro .section-title {
        order: 2;
        text-align: left;
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-intro .section-desc {
        order: 3;
        text-align: left;
        max-width: none;
        font-size: 0.9rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .section-intro {
        padding: 1.25rem;
        gap: 0.75rem;
        border-left-width: 2px;
    }

    .section-intro .section-tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
        letter-spacing: 1px;
    }

    .section-intro .section-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .section-intro .section-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}
