:root {
    /* Premium Sports Theme Color Palette */
    /*--primary-color: #0f172a;        Deep Slate/Blackish for contrast */
    /*--primary-hover: #1e293b;
    /*--secondary-color: #3b82f6;     /* Bright Electric Blue */
    /*--secondary-hover: #2563eb;
    /*--accent-color: #f59e0b;        /* Energetic Amber/Orange */
    /*--accent-hover: #d97706;
    /*--bg-color: #f8fafc;            /* Off-white background */
    /*--surface-color: #ffffff;       /* Pure white components */
    /*--text-color: #0f172a;          /* Dark slate for readable text */
    /*--text-muted: #64748b;          /* Soft slate for muted text */
    /*--border-color: #e2e8f0;        /* Subtle borders */

    --primary-color: #d62828; /* Clean modern red */
    --primary-hover: #b71f1f;

    --secondary-color: #2b2d42; /* Deep neutral contrast */
    --secondary-hover: #1f2133;

    --accent-color: #8d99ae; /* Cool gray accent */
    --accent-hover: #6c778d;

    --bg-color: #f5f5f5; /* Light neutral background */
    --surface-color: #ffffff; /* Pure white UI */

    --text-color: #2b2d42; /* Dark modern text */
    --text-muted: #8d99ae; /* Soft muted gray */

    --border-color: #e0e0e0; /* Clean borders */
    /* Layout Variables */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 30px rgba(0, 0, 0, 0.12);

    --font-family: "Outfit", "Inter", sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animations Core */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Page Hero Global */
.page-hero {
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-hover)
    );
    padding: 6rem 0 4rem;
    color: white;
    text-align: center;
}
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4,
.page-hero h5,
.page-hero h6 {
    color: white;
}

/* Base Buttons */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px; /* Pill shape for premium feel */
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}
.btn-custom-primary {
    background: var(--secondary-color);
    color: white;
}
.btn-custom-primary:hover {
    background: var(--secondary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-custom-accent {
    background: var(--accent-color);
    color: white;
}
.btn-custom-accent:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Floating Actions */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #1ebe57;
    color: white;
    transform: scale(1.1);
}

.scroll-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 90px;
    right: 25px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
}
.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.scroll-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Cards & Grid Items */
.premium-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.premium-card .img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}
.premium-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.premium-card:hover .img-wrapper img {
    transform: scale(1.05);
}
.premium-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Section Styling */
.section-padding {
    padding: 5rem 0;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Forms */
.premium-input {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    background: var(--bg-color);
    transition: all 0.3s;
}
.premium-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: var(--surface-color);
    outline: none;
}

/* Toast Component */
#frontend-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
#frontend-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
