/* 
  Patliputra Super Smash - REBOOT v3.0
  Theme: Bold Cricket (Navy, Red, White)
  Contact: +91 878 943 4546
*/

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

:root {
    --navy: #021533;
    --red: #D61A1A;
    --red-hover: #b01515;
    --white: #FFFFFF;
    --gray-light: #F8FAFC;
    --gray-text: #64748b;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(15px);
    --accent: #EAB308;
    /* Gold for highlighting price/important details */

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: var(--font-secondary);
    background-color: var(--white);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-outfit {
    font-family: var(--font-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Global Header --- */
header {
    background: var(--white);
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
}

.brand-logo img {
    height: 60px;
}

.brand-logo h1 {
    font-size: 1.5rem;
    line-height: 1;
}

.brand-logo h1 span {
    color: var(--red);
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a,
.nav-links .drop-btn {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover,
.nav-links .drop-btn:hover {
    color: var(--red);
}

/* Dropdown Logic */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 15px 0;
    z-index: 1002;
    border-top: 3px solid var(--red);
}

.dropdown-content a {
    color: var(--navy);
    padding: 10px 24px;
    display: block;
}

.dropdown-content a:hover {
    background: var(--gray-light);
    color: var(--red);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-nav-reg {
    background-color: var(--red) !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(214, 26, 26, 0.3);
    transition: var(--transition);
    text-decoration: none !important;
}

.btn-nav-reg:hover {
    background-color: var(--red-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(214, 26, 26, 0.4);
}

.btn-nav-reg i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.btn-nav-reg:hover i {
    transform: translateX(3px);
}

/* --- Hero Section --- */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(2, 21, 51, 0.7), rgba(2, 21, 51, 0.7)), url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.hero-box {
    max-width: 800px;
}

.hero-box h2 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-box p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--red);
    color: white;
    padding: 18px 36px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

/* --- Grid Sections --- */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 0 auto;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--gray-light);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.advantage-card:hover {
    background: white;
    border-color: var(--red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 20px;
}

/* --- Floating Elements --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Footer --- */
footer {
    background: var(--navy);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* --- Registration Redesign (Fresh Approach) --- */
.reg-hero {
    min-height: calc(100vh - 90px);
    background: linear-gradient(rgba(2, 21, 51, 0.85), rgba(2, 21, 51, 0.75)), url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 60px 50px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
    color: white;
}

.reg-header {
    text-align: center;
    margin-bottom: 40px;
}

.reg-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.reg-header h2 span {
    color: var(--red);
}

.reg-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.reg-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reg-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.reg-input-group input,
.reg-input-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: var(--radius);
    color: white;
    font-family: var(--font-secondary);
    transition: var(--transition);
}

.reg-input-group input:focus,
.reg-input-group select:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.1);
}

.reg-input-group select option {
    background: var(--navy);
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.terms-check input {
    accent-color: var(--red);
    width: 18px;
    height: 18px;
}

.btn-reg-submit {
    width: 100%;
    padding: 20px;
    border-radius: var(--radius);
    border: none;
    background: linear-gradient(135deg, var(--red), #b01515);
    color: white;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.btn-reg-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 26, 26, 0.4);
}

.btn-reg-submit span {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.reg-footer-text {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-box h2 {
        font-size: 2.8rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero {
        height: auto;
        padding: 120px 0;
    }

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

    .glass-card {
        padding: 30px 20px;
    }

    .reg-header h2 {
        font-size: 2rem;
    }
}