/*
 * Homepage Design - Custom CSS for Figma-based Design
 * Based on the design system from Figma
 */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

/* CSS Variables for Design System */
:root {
    /* Colors from Figma design */
    --brand-green: #83ff65;
    --brand-green-dark: #49ca00;
    --brand-orange: #ff6900;
    --brand-blue: #2b7fff;
    --brand-blue-dark: #155dfc;
    --brand-purple: #ad46ff;
    --brand-cyan: #00b8db;
    --neutral-950: #0a0a0a;
    --neutral-900: #171717;
    --neutral-800: #262626;
    --neutral-700: #404040;
    --neutral-600: #525252;
    --neutral-500: #737373;
    --neutral-400: #a3a3a3;
    --neutral-300: #d4d4d4;
    --neutral-200: #e5e5e5;
    --neutral-100: #f5f5f5;
    --white: #ffffff;
    --black: #000000;

    /* Effect shadows */
    --shadow-green: 0 0 8px rgba(78, 206, 8, 1);
    --shadow-blue: 0 0 8px rgba(43, 127, 255, 1);
    --shadow-button: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Base styling overrides */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--neutral-950);
    color: var(--white);
    margin: 0;
    padding: 0;
}

/* Typography from design system */
.text-inter-bold-32 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.5;
}

.text-inter-bold-28 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.5;
}

.text-inter-bold-48 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.5;
}

.text-inter-semibold-16 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
}

.text-inter-semibold-14 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

.text-inter-semibold-18 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
}

.text-inter-semibold-20 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
}

.text-roboto-regular-16 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

.text-roboto-bold-24 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.33;
}

/* Button styles with exact gradients and shadows */
.btn-gradient-green {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: var(--black);
    box-shadow: var(--shadow-button);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-green:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.btn-blue-bordered {
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue-dark);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

/* Card styling with exact spacing */
.card-brand {
    background: var(--neutral-900);
    border-radius: 16px;
    padding: 64px;
    width: 311px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Sports category card styling */
.sports-category-card {
    width: 312px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sports-category-image {
    width: 100%;
    aspect-ratio: 312/171;
    border-radius: 16px;
    overflow: hidden;
}

/* Commentator styling */
.commentator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
}

.commentator-image {
    width: 249px;
    height: 249px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
}

/* Content section with progress indicator */
.content-main {
    background: var(--neutral-900);
    border-radius: 16px;
    padding: 24px;
    position: relative;
}

.progress-indicator {
    position: absolute;
    right: 24px;
    top: 24px;
    bottom: 24px;
    width: 8px;
    background: #28282e;
    border-radius: 16px;
}

.progress-indicator::after {
    content: '';
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--brand-green);
    border-radius: 16px;
}

/* Sidebar styling */
.sidebar-intro {
    background: var(--neutral-900);
    border-radius: 16px;
    padding: 24px;
    height: fit-content;
}

.sidebar-item-highlighted {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: #051f00;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: right;
    font-weight: 700;
}

/* Hero section styling */
.hero-title-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, white 100%);
    max-width: 400px;
}

.hero-line.reverse {
    background: linear-gradient(90deg, white 0%, transparent 100%);
}

/* Button group styling */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.cta-button {
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Grid layouts with exact spacing */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

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

.grid-main-sidebar {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 24px;
}

/* Flexbox layouts */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Decorative elements */
.decorative-circle-1 {
    position: absolute;
    right: -400px;
    top: 0;
    width: 952px;
    height: 952px;
    opacity: 0.1;
    pointer-events: none;
}

.decorative-circle-2 {
    position: absolute;
    left: -565px;
    top: -23px;
    width: 997px;
    height: 997px;
    opacity: 0.1;
    pointer-events: none;
}

/* Image styling */
.logo-container {
    width: 158px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-large {
    width: 264px;
    height: 80px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.telegram-logo-container {
    width: 212px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookmaker-logo {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive design */
@media (max-width: 1600px) {
    .max-w-1920 {
        max-width: 100%;
        padding: 0 40px;
    }

    .px-298 {
        padding-left: 40px;
        padding-right: 40px;
    }
}

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

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

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

    .card-brand {
        padding: 32px;
        width: 100%;
        max-width: 311px;
    }

    .commentator-image {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .grid-4-col,
    .grid-3-col,
    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .flex-wrap-center {
        flex-direction: column;
    }

    .hero-title-lines {
        flex-direction: column;
        gap: 16px;
    }

    .hero-line {
        height: 1px;
        width: 100%;
        max-width: 200px;
    }

    .text-inter-bold-48 {
        font-size: 32px;
    }

    .text-inter-bold-32 {
        font-size: 24px;
    }

    .commentator-image {
        width: 150px;
        height: 150px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .card-brand {
        padding: 24px;
    }

    .content-main {
        padding: 16px;
    }

    .sidebar-intro {
        padding: 16px;
    }

    .progress-indicator {
        right: 16px;
        top: 16px;
        bottom: 16px;
    }
}

/* Animation enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Text styling utilities */
.text-center-responsive {
    text-align: center;
}

@media (max-width: 768px) {
    .text-center-responsive {
        text-align: left;
    }
}

/* Custom scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-900);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-green-dark);
}

/* Selection color */
::selection {
    background: var(--brand-green);
    color: var(--black);
}

::-moz-selection {
    background: var(--brand-green);
    color: var(--black);
}