/* ===== MAD WAVE BRAND VARIABLES ===== */
:root {
    /* Mad Wave Brand Colors */
    --primary-red: #E31E24;
    --primary-cyan: #00D9FF;
    --primary-pink: #FF006E;
    --dark-navy: #0A1931;
    --dark-blue: #1A2332;
    --black: #000000;
    --white: #FFFFFF;
    
    /* Gradients */
    --gradient-red: linear-gradient(135deg, #E31E24 0%, #FF006E 100%);
    --gradient-cyan: linear-gradient(135deg, #00D9FF 0%, #00B8D4 100%);
    --gradient-hero: linear-gradient(135deg, rgba(227, 30, 36, 0.1) 0%, rgba(0, 217, 255, 0.1) 100%);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --text-dark: #0A1931;
    
    /* UI Colors */
    --bg-dark: #0A1931;
    --bg-card: #1A2332;
    --bg-light: #FFFFFF;
    --border-color: rgba(0, 217, 255, 0.2);
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-red: 0 4px 20px rgba(227, 30, 36, 0.4);
    --shadow-cyan: 0 4px 20px rgba(0, 217, 255, 0.4);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER (Mad Wave Style) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-red);
}

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

.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    max-width: 100%;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.logo-tagline {
    font-size: 11px;
    color: var(--primary-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary-red);
}

.nav a:hover::after {
    width: 100%;
}

/* ===== HERO SECTION (Mad Wave Style) ===== */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-dark);
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease;
}

.hero-title br + br {
    display: none;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    gap: 80px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 48px;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===== BUTTONS (Mad Wave Style) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: #C11A1F;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(227, 30, 36, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-cyan);
}

.btn-secondary:hover {
    background: var(--primary-cyan);
    color: var(--dark-navy);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 50px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--bg-card);
}

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

.about-card {
    background: var(--bg-dark);
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: var(--primary-cyan);
}

.about-icon i {
    font-size: 40px;
    color: var(--white);
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== CONDITIONS SECTION ===== */
.conditions {
    padding: 100px 0;
    background: var(--bg-dark);
}

.conditions-content {
    max-width: 900px;
    margin: 0 auto;
}

.condition-item {
    display: flex;
    gap: 35px;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--bg-card);
    border-left: 4px solid var(--primary-red);
    transition: var(--transition);
}

.condition-item:hover {
    border-left-width: 8px;
    box-shadow: var(--shadow-lg);
}

.condition-number {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 80px;
}

.condition-text h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
}

.condition-text p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.sports-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.sports-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.sports-list i {
    color: var(--primary-cyan);
    font-size: 14px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.platform-card {
    background: var(--bg-dark);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.platform-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-4px);
}

.platform-card i {
    font-size: 36px;
    color: var(--primary-cyan);
}

.platform-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.note {
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(227, 30, 36, 0.1);
    border-left: 4px solid var(--primary-red);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.note i {
    color: var(--primary-red);
    margin-right: 8px;
}

/* ===== CALCULATOR SECTION ===== */
/* ===== FORM STYLES (Used in contact form) ===== */
.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--primary-cyan);
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--white);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    background: var(--bg-dark);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Fix for URL input type in admin panel */
input[type="url"].form-control {
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white) !important;
    opacity: 1 !important;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== CALCULATOR CTA SECTION ===== */
.calculator-cta {
    padding: 100px 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        var(--bg-card);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    border: 2px solid var(--primary-cyan);
}

.cta-icon i {
    font-size: 48px;
    color: var(--white);
}

.calculator-cta .section-title {
    margin-bottom: 20px;
}

.calculator-cta .section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.6;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 20px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.cta-feature:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
}

.cta-feature i {
    font-size: 36px;
    color: var(--primary-cyan);
}

.cta-feature span {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
}

.btn-cta {
    font-size: 18px;
    padding: 20px 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form-container {
    background: var(--bg-card);
    padding: 40px;
    border-top: 4px solid var(--primary-red);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-info {
    background: var(--bg-card);
    padding: 40px;
    border-top: 4px solid var(--primary-cyan);
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 30px;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-cyan);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
}

.contact-item h4 {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-item p {
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-4px);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    padding: 60px 0 30px;
    border-top: 2px solid var(--primary-red);
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col h3 {
    font-size: 24px;
}

.footer-logo {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 20px;
    object-fit: contain;
    max-width: 100%;
}

.footer-col h4 {
    font-size: 14px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--primary-red);
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .calculator-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-result {
        position: static;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    body {
        padding-top: 65px;
    }
    
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .condition-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .condition-number {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .calculator-form,
    .contact-form-container,
    .contact-info {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sports-list {
        grid-template-columns: 1fr;
    }

    .result-total-value {
        font-size: 40px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .hero {
        min-height: calc(100vh - 60px);
    }
}