:root {
    /* Modern Bright Theme - Blue/Purple Gradient */
    --primary-color: #6366f1;        /* Indigo */
    --secondary-color: #8b5cf6;      /* Purple */
    --accent-color: #06b6d4;         /* Cyan */
    --bg-dark: #ffffff;              /* White */
    --bg-darker: #f8fafc;            /* Light Gray */
    --bg-card: #ffffff;              /* White Cards */
    --text-primary: #1e293b;         /* Dark Slate */
    --text-secondary: #64748b;       /* Slate Gray */
    --success-color: #10b981;        /* Green */
    --danger-color: #ef4444;         /* Red */
    --warning-color: #f59e0b;        /* Amber */
    --grid-color: rgba(99, 102, 241, 0.04);  /* Subtle grid */
    --glow-color: rgba(99, 102, 241, 0.2);   /* Soft glow */
    --chart-green: #10b981;          /* Green */
    --chart-red: #ef4444;            /* Red */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Modern Gradient Background with Floating Shapes */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 25%, #ede9fe 50%, #f5f3ff 75%, #faf5ff 100%);
    z-index: -1;
    overflow: hidden;
}

.app-background::before,
.app-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 25s ease-in-out infinite;
}

.app-background::before {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.app-background::after {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #06b6d4, #8b5cf6, #ec4899);
    bottom: -200px;
    left: -200px;
    animation-delay: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(60px, -60px) scale(1.15) rotate(120deg);
    }
    66% {
        transform: translate(-40px, 40px) scale(0.9) rotate(240deg);
    }
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
    transition: all 0.3s ease;
}

nav:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.12);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
}

.navbar-logo img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar-logo img:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.4);
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-menu a:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.navbar-menu a:hover::before {
    width: 80%;
}

/* Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
}

.hero-avatar {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    border-radius: 24px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-xl), 0 0 0 8px rgba(99, 102, 241, 0.05);
    animation: animateFloat 3s ease-in-out infinite;
    display: block;
    background: white;
    padding: 8px;
    position: relative;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    opacity: 0;
    z-index: -1;
    animation: pulseRing 3s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

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

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: gradientAnimation 5s ease infinite;
}

@keyframes gradientAnimation {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Search Box */
.search-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    background: white;
    border: 2px solid rgba(226, 232, 240, 1);
    border-radius: 16px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--shadow-lg);
    transform: translateY(-2px);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Features Grid */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2), 0 0 0 1px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
}

.feature-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--primary-color);
    fill: none;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.2));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    stroke: var(--secondary-color);
    transform: scale(1.1);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    transform: translateX(5px);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

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

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

@media (min-width: 1400px) {
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.6s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    line-height: 1;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.15);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--text-primary);
}

/* Market Data Tables */
.market-section {
    padding: 4rem 0;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.market-table-wrapper {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(226, 232, 240, 1);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.market-table-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.market-table-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: rgba(99, 102, 241, 0.08);
    padding: 1rem;
    text-align: left;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid rgba(226, 232, 240, 1);
}

td {
    padding: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(226, 232, 240, 1);
    transition: background 0.2s ease;
}

tr:hover {
    background: rgba(99, 102, 241, 0.03);
}

tr:hover td {
    transform: translateX(5px);
}

.table-rank {
    font-weight: bold;
    color: var(--secondary-color);
}

.table-symbol {
    font-weight: bold;
    color: var(--primary-color);
}

.table-score {
    font-weight: bold;
    color: var(--success-color);
}

/* Insights Section */
.insights-section {
    padding: 4rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.insight-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.insight-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.insight-card:hover::after {
    opacity: 1;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
}

.insight-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.insight-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(99, 102, 241, 0.05) 10px,
            rgba(99, 102, 241, 0.05) 20px);
    animation: animateSlide 20s linear infinite;
}

@keyframes animateSlide {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50%, 50%);
    }
}

.insight-image img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    z-index: 1;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 8px;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insight-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Footer */
footer {
    background: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(226, 232, 240, 1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-content > div {
    flex: 1;
    min-width: 250px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 1);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .navbar-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .search-button {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 1rem;
    }
}

/* Animations */
@keyframes animateFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Ticker Animation */
.ticker-wrapper {
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(226, 232, 240, 1);
    border-bottom: 1px solid rgba(226, 232, 240, 1);
    position: relative;
}

.ticker-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.ticker-content {
    display: flex;
    animation: animateTicker 30s linear infinite;
}

.ticker-item {
    padding: 0 3rem;
    white-space: nowrap;
    color: এরיוון(--text-secondary);
    font-weight: 500;
}

.ticker-up {
    color: var(--success-color);
}

.ticker-down {
    color: var(--danger-color);
}

@keyframes animateTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    animation: animateModalFadeIn 0.3s ease-out;
}

.modal-overlay.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes animateModalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: animateModalSlideIn 0.4s ease-out;
    text-align: center;
}

@keyframes animateModalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    background: none;
    border: none;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-lg);
    animation: animatePulse 2s ease-in-out infinite;
    background: white;
    padding: 8px;
}

@keyframes animatePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--shadow-lg);
    }

    50% {
        transform: scale(1.05);
        box-shadow: var(--shadow-xl);
    }
}

.modal-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-notice {
    color: var(--warning-color);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.modal-button {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(226, 232, 240, 1);
    padding: 1.5rem;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-banner-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.cookie-banner-text a:hover {
    color: var(--primary-color);
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cookie-button-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.cookie-button-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cookie-button-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(226, 232, 240, 1);
}

.cookie-button-decline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-buttons {
        width: 100%;
    }

    .cookie-button {
        flex: 1;
    }
}