:root {
    /* Brand Colors */
    --color-red: #ec0909;
    --color-orange: #f18007;
    --color-yellow: #f5d706;
    --color-black: #000000;
    --color-white: #ffffff;

    /* Usage Colors */
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-brand: linear-gradient(135deg, var(--color-red), var(--color-orange));

    /* Dimensions & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 8px;

    /* Fonts */
    --font-main: 'Outfit', sans-serif;
    /* Modern, geometric, clean */
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    height: 50px;
    box-sizing: border-box;
    line-height: 1;
    margin: 0;
    font-family: inherit;
}

button.btn {
    height: 50px;
    line-height: 1;
}

a.btn {
    height: 50px;
    line-height: 1;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 9, 9, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 9, 9, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-vote {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-vote::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 ease;
}

.btn-vote:hover::before {
    left: 100%;
}

.btn-vote:hover {
    background: linear-gradient(135deg, var(--color-red), var(--color-orange), var(--color-yellow));
    background-size: 200% 200%;
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(236, 9, 9, 0.5),
                0 0 20px rgba(241, 128, 7, 0.4),
                0 0 40px rgba(245, 215, 6, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                 0 0 20px rgba(241, 128, 7, 0.6),
                 0 0 30px rgba(236, 9, 9, 0.4);
    animation: flame-flicker 0.3s ease-in-out infinite alternate;
}

@keyframes flame-flicker {
    0% {
        filter: brightness(1) saturate(1);
        box-shadow: 0 8px 30px rgba(236, 9, 9, 0.5),
                    0 0 20px rgba(241, 128, 7, 0.4),
                    0 0 40px rgba(245, 215, 6, 0.3);
    }
    100% {
        filter: brightness(1.1) saturate(1.2);
        box-shadow: 0 8px 35px rgba(236, 9, 9, 0.6),
                    0 0 25px rgba(241, 128, 7, 0.5),
                    0 0 50px rgba(245, 215, 6, 0.4);
    }
}

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

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

@keyframes ignite {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        filter: blur(10px);
        color: #502000;
        -webkit-text-fill-color: #502000;
        /* Dark char */
    }

    40% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
        color: #fff;
        -webkit-text-fill-color: #fff;
        /* Ignites white hot */
        text-shadow: 0 0 30px #f5d706, 0 0 60px #ec0909;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        color: #ffae34;
        -webkit-text-fill-color: #ffae34;
        text-shadow: 0 0 20px rgba(241, 128, 7, 0.4);
    }
}

.text-fire {
    display: inline-block;
    /* Required for transform */
    color: #ffae34;
    animation: ignite 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffae34 !important;
}

.page-title .text-fire {
    -webkit-text-fill-color: #ffae34 !important;
    color: #ffae34 !important;
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

header {
    position: relative;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* Grid Background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Page Layouts */
.page-header {
    text-align: center;
    padding: 60px 0 40px;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 16px;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

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

.card-accent-red:hover {
    border-color: var(--color-red);
    box-shadow: 0 10px 30px rgba(236, 9, 9, 0.15);
}

.card-accent-orange:hover {
    border-color: var(--color-orange);
    box-shadow: 0 10px 30px rgba(241, 128, 7, 0.15);
}

.card-accent-yellow:hover {
    border-color: var(--color-yellow);
    box-shadow: 0 10px 30px rgba(245, 215, 6, 0.15);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Contact Form/Area */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-main);
}

.footer-link {
    color: var(--text-main);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }

    .nav-links {
        gap: 20px;
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 2rem !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        align-items: center;
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .card {
        padding: 24px;
    }

    .contact-container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
        font-size: 0.85rem;
    }

    .logo img {
        height: 32px;
        width: 32px;
    }

    .page-title {
        font-size: 1.75rem !important;
    }

    h1 {
        font-size: 2rem !important;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }
}