:root {
    --primary: #022e55;
    --secondary: #018aca;
    --highlight: #b8ebf4;
    --gray-dark: #7a7a7a;
    --gray-light: #dadada;
}

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--primary);
    overflow-x: hidden;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link:not(.btn-signup) {
    font-weight: 500;
    color: var(--primary);
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:not(.btn-signup)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.btn-signup):hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--secondary);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 138, 202, 0.2);
}

.btn-signup {
    background: var(--secondary) !important;
    color: white !important;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    transition: all 0.3s ease !important;
}

.btn-signup:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 138, 202, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(45deg, rgba(2, 46, 85, 1), rgba(1, 138, 202, 1));
    min-height: 40vh;
    max-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    z-index: 2;
    padding-top: 40px;
}

.hero-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 90%;  
    width: auto; 
    opacity: 0.8;
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease;
}

.hero .lead {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .btn-primary {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.features-row {
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative; /* Needed for absolute positioning of pseudo-element */
    overflow: hidden; /* Prevent watermark from spilling out */
    z-index: 1; /* Ensure content stays above pseudo-element */
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 160px; /* Increased size */
    height: 160px; /* Increased size */
    background-image: url('images/icon.png'); /* Path relative to styles.css */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15; /* Increased opacity */
    z-index: 0; /* Place behind the content */
    pointer-events: none; /* Prevent interference with interactions */
}

/* Ensure direct children content is above the watermark */
.feature-item > * {
    position: relative;
    z-index: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    color: var(--secondary);
}

.feature-header {
    display: flex;
    align-items: center; /* Vertically center icon and text */
    margin-bottom: 1rem; /* Space below header/icon combo */
}

.feature-header i {
    font-size: 2.5rem; /* Icon size */
    margin-right: 1rem; /* Space between icon and text */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.feature-header h4 {
    margin-bottom: 0; /* Remove default heading margin */
}

.premium-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.premium-card-content {
    padding: 3rem;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.premium-header {
    margin-bottom: 1.5rem;
}

.premium-header h3 {
    margin-bottom: 0.5rem;
}

.premium-card .status {
    display: block;
    font-size: 1rem;
    color: var(--highlight);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    background: var(--secondary);
    color: var(--primary);
}

.premium-btn-container {
    text-align: right;
}

.analysis .lead {
    font-weight: 700;
    color: var(--primary);
}

.premium-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: var(--primary);
    color: white;
}

.premium-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.premium-image img {
    transition: transform 0.3s ease;
}

.premium-image img:hover {
    transform: scale(1.03);
}

.premium-image.showMobile {
    display: none;
}

.benefits li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits li:last-child {
    border-bottom: none;
}

.benefits li i {
    margin-right: 1rem;
    color: var(--highlight);
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date{
    font-size: 1rem;
    font-weight: 700;
}

.sport{ 
    font-size: 1.25rem;
    color: var(--secondary);
}


/* Teaser Pick Section */
.teaser-pick {
    background: #f8f9fa;
    position: relative;
}

.pick-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.pick-card .date {
    text-align: center;
    margin-bottom: 1.5rem;
}

.matchup {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
}

.team {
    text-align: center;
}

.team img {
    border-radius: 50%;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.team:hover img {
    transform: scale(1.1);
}

.vs {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.confidence-meter {
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    margin: 1rem 0;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--highlight));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-in-out;
}

/* Historical Picks Section */
.historical-picks {
    padding: 100px 0;
}

.picks-slider {
    padding: 2rem 0;
}

.pick-history-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pick-history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pick-history-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 40px;
}

.pick-history-card .date {
    padding-top: 0.5rem;
}

.pick-history-card .result {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    right: 0;
    top: 0;
    white-space: nowrap;
}

.pick-history-card .result.win {
    background: #e8f5e9;
    color: #2e7d32;
}

.pick-history-card .result.lose {
    background: #ffebee;
    color: #c62828;
}

.pick-history-card .pick-details {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pick-history-card .matchup {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pick-history-card .prediction {
    margin-bottom: 1.5rem;
}

.pick-history-card .confidence-meter {
    height: 6px;
    background: var(--gray-light);
    border-radius: 3px;
    margin: 1rem 0;
    overflow: hidden;
}

.pick-history-card .confidence-meter .meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--highlight));
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.pick-history-card .confidence {
    margin-top: 0.5rem;
}

.pick-history-card .sport {
        font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sign Up Section */
.signup-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    margin-right: 1rem;
    color: var(--highlight);
}

.signup-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-control {
    height: 50px;
    border-radius: 25px;
    padding: 0 1.5rem;
    border: 2px solid var(--gray-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(1, 138, 202, 0.25);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    position: relative;
    z-index: 2;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--highlight);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }

    .hero-overlay {
        width: 100%;
        opacity: 0.7;
    }
    
    .premium-card {
        margin-top: 2rem;
    }
    
    .matchup {
        flex-direction: column;
    }
    
    .team {
        margin: 1rem 0;
    }
    
    .signup-form {
        margin-top: 2rem;
    }

    .d-none.d-md-block .premium-image {
        display: none;
    }

    .premium-image.showMobile {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 2rem 0;
    }

    .premium-image.showMobile img {
        max-width: 80%;
        margin: 0 auto;
        border-radius: 15px;
        transition: transform 0.3s ease;
    }

    .premium-image.showMobile img:hover {
        transform: scale(1.03);
    }

    .premium-card {
        padding: 2rem;
    }

    .premium-card .row {
        flex-direction: column;
    }

    .premium-btn-container {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .premium-image.showMobile img {
        max-width: 100%;
    }

    .premium-card {
        padding: 1.5rem;
    }
}

/* Logo Section */
.logo-section {
    background: white;
    position: relative;
    padding: 3rem 0;
}

.logo-large {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(2, 46, 85, 0.2));
    transition: transform 0.5s ease;
}

.logo-large:hover {
    transform: scale(1.02);
}

.detailed-analysis-btn {
    margin: 1.5rem 0;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.detailed-analysis-btn:hover,
.detailed-analysis-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 138, 202, 0.2);
}

.detailed-analysis-btn i {
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

.detailed-analysis-btn.active i {
    transform: rotate(180deg);
}

.detailed-analysis {
    display: none;
    text-align: left;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detailed-analysis.show {
    display: block;
    opacity: 1;
}

.detailed-analysis p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--primary);
}

/* Notification Slider */
.notification-slider {
    position: fixed;
    top: -100px;
    left: 0;
    right: 0;
    background: var(--primary);
    color: white;
    z-index: 1040;
    transition: top 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.notification-slider.show {
    top: 0;
}

.notification-content {
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.notification-message {
    font-weight: 500;
    flex-grow: 1;
    margin-right: 1.5rem;
    font-size: 1.1rem;
}

.notification-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.notification-close:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.notification-close i {
    line-height: 1;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Remove floating cheerleader styles */
.floating-cheerleader {
    display: none;
}

.about ~ .floating-cheerleader {
    display: none;
}

@media (max-width: 768px) {
    .floating-cheerleader {
        display: none;
    }
}

@media (max-width: 576px) {
    .floating-cheerleader {
        display: none;
    }
}

.pick-card .sport {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.teaser-pick .pick-card .sport {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teaser-pick .pick-card .date {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.teaser-pick .pick-card .matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.teaser-pick .pick-card .team {
    flex: 1;
    text-align: center;
}

.teaser-pick .pick-card .vs {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    padding: 0;
    text-align: center;
    min-width: 3rem;
}

.teaser-pick .pick-card .analysis .lead {
    font-weight: 700;
    color: var(--secondary);
}

.teaser-pick .pick-card .analysis .highlight {
    font-weight: 700;
    color: var(--primary);
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading-image {
    display: block;
    margin: auto;
    height: 150px;
    width: auto;    
}