/* ============================================
   ROOT VARIABLES & GLOBAL STYLES
   ============================================ */

:root {
    /* Accent Color & Shades */
    --accent-primary: #DF5C4A;
    --accent-secondary: #E87A6B;
    --accent-light: #F5A99A;
    --accent-dark: #C43D2A;

    /* Dark Theme Colors */
    --bg-primary: #0A0A0A;
    --bg-secondary: #141414;
    --bg-tertiary: #1E1E1E;
    --bg-card: #1A1A1A;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #999999;

    /* Border & Divider */
    --border-color: #2A2A2A;
    --border-accent: rgba(223, 92, 74, 0.3);

    /* Container */
    --container-width: 1200px;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 20px rgba(223, 92, 74, 0.3);
}

/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(223, 92, 74, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 122, 107, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(223, 92, 74, 0.02) 2px,
            rgba(223, 92, 74, 0.02) 4px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(223, 92, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

/* Decorative cricket elements */
.cricket-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.cricket-ball {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(223, 92, 74, 0.3), rgba(196, 61, 42, 0.5));
    border-radius: 50%;
    position: absolute;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.cricket-stump {
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-dark));
    position: absolute;
    opacity: 0.2;
    box-shadow: 0 0 10px rgba(223, 92, 74, 0.3);
}

main {
    position: relative;
    z-index: 1;
}

/* Image hover effects */
section img {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

section img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(223, 92, 74, 0.3) !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(223, 92, 74, 0.3);
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(223, 92, 74, 0.5);
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-xs);
}

h2::before {
    content: '🏏';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 2px;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-secondary);
}

ul,
ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    box-shadow: var(--shadow-accent);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(223, 92, 74, 0.4), 0 0 40px rgba(223, 92, 74, 0.3);
    animation: glow 2s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(223, 92, 74, 0.1), 0 0 20px rgba(223, 92, 74, 0.2);
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(223, 92, 74, 0.1), transparent);
    border-radius: 50%;
    transition: all var(--transition-slow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(223, 92, 74, 0.2);
    border-color: var(--border-accent);
    border-left-color: var(--accent-secondary);
}

.card:hover::before {
    top: -30%;
    right: -30%;
    width: 300px;
    height: 300px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(223, 92, 74, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(223, 92, 74, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent-primary);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.3;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    border-radius: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   HEADER
   ============================================ */

.header {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(20, 20, 20, 0.95));
    border-bottom: 2px solid var(--border-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(223, 92, 74, 0.1);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(223, 92, 74, 0.3));
    transition: filter var(--transition-fast);
}

.logo:hover img {
    filter: drop-shadow(0 0 15px rgba(223, 92, 74, 0.5));
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border-top: 2px solid var(--border-accent);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: var(--spacing-xs);
}

.footer-disclaimer {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    border-top: 2px solid var(--border-accent);
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(223, 92, 74, 0.05), transparent);
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

.footer-disclaimer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(223, 92, 74, 0.1), transparent);
    border-radius: 50%;
    opacity: 0.5;
}

.footer-disclaimer p {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   POPUP MODAL (18+)
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-tertiary));
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: var(--spacing-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8), 0 0 60px rgba(223, 92, 74, 0.3);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
    animation: glow 3s ease-in-out infinite;
}

.modal-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent-primary);
}

.modal-title {
    color: var(--accent-primary);
    margin-bottom: var(--spacing-md);
}

.modal-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-text strong {
    color: var(--accent-primary);
}

.modal-overlay.modal-hidden {
    display: none;
}

/* ============================================
   PHONE FORM
   ============================================ */

.phone-form {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-tertiary));
    border: 2px solid var(--border-accent);
    border-radius: 16px;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.phone-form::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(223, 92, 74, 0.15), transparent);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.phone-form::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 122, 107, 0.1), transparent);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite reverse;
}

.phone-form-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.phone-form-group .form-input {
    flex: 1;
}

.message-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-left: 4px solid #4ade80;
    color: #4ade80;
    padding: var(--spacing-sm);
    border-radius: 8px;
    margin-top: var(--spacing-sm);
    display: none;
    position: relative;
    overflow: hidden;
}

.message-success::before {
    content: '✓';
    position: absolute;
    left: var(--spacing-sm);
    font-size: 1.2rem;
    font-weight: bold;
}

.message-success.show {
    animation: slideInRight 0.3s ease-out;
}


/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.decorative-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    margin: var(--spacing-lg) 0;
    opacity: 0.3;
}

.decorative-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    margin: 0 var(--spacing-xs);
    box-shadow: 0 0 10px rgba(223, 92, 74, 0.5);
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(223, 92, 74, 0.1);
    border: 1px solid rgba(223, 92, 74, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    transition: all var(--transition-fast);
}

.feature-badge:hover {
    background: rgba(223, 92, 74, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 92, 74, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h1::after {
        width: 60px;
    }

    h2 {
        font-size: 2rem;
    }

    h2::before {
        display: none;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }

    .nav-list.active {
        left: 0;
    }

    .phone-form-group {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .card::before {
        display: none;
    }
}