/*HAPPENGRID - HOME PAGE STYLES*/

/* CSS Variables */
:root {
    --background: hsl(240, 15%, 6%);
    --foreground: hsl(0, 0%, 98%);
    --card: hsl(240, 15%, 9%);
    --card-foreground: hsl(0, 0%, 98%);
    --popover: hsl(240, 15%, 9%);
    --popover-foreground: hsl(0, 0%, 98%);
    --primary: hsl(270, 80%, 65%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(240, 15%, 15%);
    --secondary-foreground: hsl(0, 0%, 98%);
    --muted: hsl(240, 15%, 18%);
    --muted-foreground: hsl(240, 10%, 60%);
    --accent: hsl(270, 80%, 55%);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 72%, 51%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(270, 30%, 25%);
    --input: hsl(240, 15%, 15%);
    --ring: hsl(270, 80%, 65%);
    --radius: 1rem;
    
    /* Custom HappenGrid tokens */
    --violet-glow: hsl(270, 80%, 65%);
    --violet-soft: hsl(270, 60%, 75%);
    --violet-deep: hsl(270, 80%, 45%);
    --navy-dark: hsl(240, 20%, 8%);
    --navy-light: hsl(240, 15%, 12%);
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(240, 20%, 6%) 0%, hsl(270, 30%, 12%) 50%, hsl(240, 20%, 8%) 100%);
    --gradient-card: linear-gradient(135deg, hsl(240, 15%, 10%) 0%, hsl(240, 15%, 8%) 100%);
    --gradient-violet: linear-gradient(135deg, hsl(270, 80%, 60%) 0%, hsl(290, 80%, 55%) 100%);
    --gradient-violet-soft: linear-gradient(135deg, hsla(270, 80%, 65%, 0.2) 0%, hsla(290, 80%, 60%, 0.1) 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 60px hsla(270, 80%, 65%, 0.3);
    --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.4);
    --shadow-elevated: 0 20px 60px hsla(0, 0%, 0%, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(240, 15%, 8%);
}

::-webkit-scrollbar-thumb {
    background: hsl(270, 40%, 35%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(270, 60%, 45%);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.text-gradient-violet {
    background: var(--gradient-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-card {
    background: var(--gradient-card);
}

.bg-gradient-violet {
    background: var(--gradient-violet);
}

.glow-violet {
    box-shadow: var(--shadow-glow);
}

.glow-violet-sm {
    box-shadow: 0 0 30px hsla(270, 80%, 65%, 0.2);
}

.glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: hsla(240, 15%, 10%, 0.7);
    border: 1px solid hsla(270, 30%, 30%, 0.3);
}

.glass-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(135deg, hsla(240, 15%, 12%, 0.9) 0%, hsla(240, 15%, 8%, 0.9) 100%);
    border: 1px solid hsla(270, 30%, 35%, 0.2);
    border-radius: 1rem;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.4), 0 0 40px hsla(270, 80%, 65%, 0.15);
    border-color: hsla(270, 60%, 50%, 0.4);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    animation-fill-mode: both;
}

/* Prevent re-animation on scroll */
.section-header,
.feature-card,
.cta-card,
.event-card {
    opacity: 0;
}

.section-header.animate-in,
.feature-card.animate-in,
.cta-card.animate-in,
.event-card.animate-in {
    opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-sm {
    height: 2.25rem;
    padding: 0 0.875rem;
    font-size: 0.875rem;
}

.btn-lg {
    height: 2.75rem;
    padding: 0 1.5rem;
    font-size: 1rem;
}

.btn-xl {
    height: 3.25rem;
    padding: 0 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-violet);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 30px hsla(270, 80%, 65%, 0.4);
}

.btn-hero {
    background: var(--gradient-violet);
    color: var(--primary-foreground);
    box-shadow: 0 0 40px hsla(270, 80%, 65%, 0.3);
}

.btn-hero:hover {
    box-shadow: 0 0 60px hsla(270, 80%, 65%, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: hsla(270, 80%, 65%, 0.1);
    border-color: var(--primary);
}

.btn-ghost {
    background: transparent;
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    background: hsla(270, 80%, 65%, 0.1);
    color: var(--foreground);
}

.btn-tag {
    background: var(--secondary);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.btn-tag:hover {
    background: hsla(270, 80%, 65%, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-tag-active {
    background: hsla(270, 80%, 65%, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
    height: 2.25rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.w-full {
    width: 100%;
}

/* ============================================
   NAVBAR
   ============================================ */
/* Navbar styles handled by global.css */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 10rem;
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding-bottom: 4rem;
    }
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, hsla(240, 15%, 6%, 0.8) 0%, hsla(240, 15%, 6%, 0.6) 50%, var(--background) 100%);
}

.hero-overlay-sides {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, hsla(240, 15%, 6%, 0.8) 0%, transparent 50%, hsla(240, 15%, 6%, 0.8) 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-1 {
    top: 25%;
    left: 25%;
    width: 24rem;
    height: 24rem;
    background: hsla(270, 80%, 65%, 0.2);
}

.hero-glow-2 {
    bottom: 25%;
    right: 25%;
    width: 20rem;
    height: 20rem;
    background: hsla(270, 80%, 55%, 0.15);
    animation-delay: 1.5s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 8rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .hero-content {
        padding-top: 5rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: hsla(270, 80%, 65%, 0.1);
    border: 1px solid hsla(270, 80%, 65%, 0.3);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease;
}

.hero-badge svg {
    color: var(--primary);
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease 0.1s both;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.5s ease 0.2s both;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.5s ease 0.3s both;
}

@media (max-width: 767px) {
    .hero-cta {
        margin-bottom: 1.5rem;
        gap: 0.75rem;
    }
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    animation: fadeInUp 0.5s ease 0.4s both;
}

@media (max-width: 767px) {
    .hero-stats {
        gap: 0.75rem;
    }
    .stat-card {
        padding: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.stat-card {
    padding: 1rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .stat-card {
        padding: 1.5rem;
    }
}

.stat-icon {
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 1.875rem;
    }
}

.stat-value::after {
    content: '+';
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background) 0%, transparent 100%);
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background: hsla(270, 80%, 65%, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

/* ============================================
   FEATURED EVENTS SECTION
   ============================================ */
.featured-section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .featured-section {
        padding: 8rem 0;
    }
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .category-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
        /* Hide scrollbar but keep scrollable */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-filter::-webkit-scrollbar {
        display: none;
    }
    .category-filter .btn-tag,
    .category-filter .btn-tag-active {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.view-all-container {
    text-align: center;
}

/* Event Card */
.event-card {
    overflow: hidden;
}

.event-card-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card) 0%, transparent 100%);
}

.event-category-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: hsla(270, 80%, 65%, 0.9);
    color: var(--primary-foreground);
}

.event-save-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: hsla(240, 15%, 9%, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.event-save-btn:hover {
    background: var(--card);
}

.event-save-btn svg {
    width: 1rem;
    height: 1rem;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.event-save-btn.saved svg {
    fill: #ef4444;
    color: #ef4444;
}

.event-price-badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-price-badge.free {
    background: hsla(145, 63%, 42%, 0.9);
    color: white;
}

.event-price-badge.paid {
    background: hsla(240, 15%, 9%, 0.9);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.event-live-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: hsla(0, 84%, 60%, 0.9);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    animation: live-pulse 2s infinite;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px white;
}

@keyframes live-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 hsla(0, 84%, 60%, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px hsla(0, 84%, 60%, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 hsla(0, 84%, 60%, 0); }
}

.event-featured-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gradient-violet);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

/* If both live and featured are present, shift the featured badge */
.event-live-badge + .event-featured-badge {
    left: 5.5rem;
}

.event-card-content {
    padding: 1.25rem;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.event-card:hover .event-title {
    color: var(--primary);
}

.event-organizer {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.event-detail svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
}

.event-detail-venue {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.event-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.event-stat svg {
    width: 1rem;
    height: 1rem;
}

.event-stat.rating svg {
    color: var(--primary);
    fill: var(--primary);
}

.event-stat.rating span {
    color: var(--foreground);
    font-weight: 500;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 5rem 0;
    background: var(--background);
}

@media (min-width: 1024px) {
    .features-section {
        padding: 8rem 0;
    }
}

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

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

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

.feature-card {
    padding: 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .feature-card {
        text-align: left;
    }
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: var(--gradient-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .feature-icon {
        margin-left: 0;
        margin-right: 0;
    }
}

.feature-icon svg {
    color: var(--primary-foreground);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .cta-section {
        padding: 8rem 0;
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37.5rem;
    height: 37.5rem;
    background: hsla(270, 80%, 65%, 0.2);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-container {
    position: relative;
    z-index: 10;
}

.cta-card {
    padding: 2rem;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .cta-card {
        padding: 4rem;
    }
}

.cta-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: var(--gradient-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.cta-icon svg {
    color: var(--primary-foreground);
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
}

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

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

.footer-brand {
    grid-column: span 2;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 20rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

a.contact-link:hover {
    color: var(--primary);
}

.footer-links-group h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}
