/* NFL Theme New Homepage Styles */

:root {
    --nfl-dark: #111111;
    --nfl-darker: #070707;
    --nfl-gray: #333333;
    --nfl-yellow: #FFD700;
    --nfl-yellow-light: #FFE44D;
    --nfl-field-green: #3D9970;
    --nfl-red: #E53E3E;
    --nfl-blue: #3182CE;
}

body {
    background-color: var(--nfl-dark);
    color: white;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Full-width overrides for base template */
.main-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

/* Base Styles */
.container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    position: relative;
    z-index: 10;
}

/* Football Field Backgrounds */
.football-field {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--nfl-dark);
    overflow: hidden;
}

.football-field.dark {
    background-color: var(--nfl-darker);
}

.football-field.light {
    opacity: 0.1;
}

.field-texture {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%233D9970" opacity="0.08"/><path d="M0 0L100 100M100 0L0 100" stroke="white" stroke-width="0.2" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.15;
}

.field-lines {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.field-lines::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.field-hashmarks {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.field-hashmarks::before,
.field-hashmarks::after {
    content: '';
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
}

.field-endzones {
    position: absolute;
    inset: 0;
}

.field-endzones::before,
.field-endzones::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4rem;
    background-color: rgba(255, 215, 0, 0.05);
}

.field-endzones::before {
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.field-endzones::after {
    bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.field-numbers {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    opacity: 0.1;
}

.numbers-left,
.numbers-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.numbers-left div,
.numbers-right div {
    font-weight: bold;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    transform: rotate(-90deg);
}

.numbers-right div {
    transform: rotate(90deg);
}

/* Goal Posts */
.goal-post-left,
.goal-post-right {
    position: absolute;
    top: 0;
    height: 8rem;
    width: 1px;
    background-color: rgba(255, 215, 0, 0.2);
}

.goal-post-left {
    left: 25%;
}

.goal-post-right {
    right: 25%;
}

.goal-post-bar {
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 1px;
    background-color: rgba(255, 215, 0, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 10rem 0 8rem;
    overflow: hidden;
    background-color: var(--nfl-dark);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    color: var(--nfl-yellow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 sup {
    color: var(--nfl-yellow);
    font-size: 0.5em; /* Adjust size as needed */
    vertical-align: super; /* Ensure proper vertical alignment */
    /* Remove any unwanted inherited styles if necessary */
    background: none; 
    text-shadow: none;
}

.football-animation {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 80px;
    height: 50px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 60"><ellipse cx="50" cy="30" rx="45" ry="25" fill="%23663300" stroke="white" stroke-width="2"/><path d="M20 30 L80 30" stroke="white" stroke-width="2"/><path d="M33 15 L33 45" stroke="white" stroke-width="2"/><path d="M50 10 L50 50" stroke="white" stroke-width="2"/><path d="M67 15 L67 45" stroke="white" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    animation: floatFootball 8s ease-in-out infinite, spinFootball 8s linear infinite;
    opacity: 0.6;
}

@keyframes floatFootball {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-100px, 50px); }
}

@keyframes spinFootball {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.trophy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 1.5rem;
}

.fas.fa-trophy {
    font-size: 3.5rem;
    color: var(--nfl-yellow);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.pulse-icon {
    position: relative;
}

.pulse-icon::after {
    content: '';
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    height: 1.5rem;
    width: 1.5rem;
    background-color: var(--nfl-yellow);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: -1px;
}

.highlight {
    color: var(--nfl-yellow);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--nfl-yellow);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.hero-description {
    font-size: 1.5rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.button-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .button-group {
        flex-direction: row;
        justify-content: center;
    }

    .hero-title {
        font-size: 5.5rem;
    }
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--nfl-yellow);
    color: var(--nfl-dark);
    font-weight: bold;
    text-align: center;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--nfl-yellow-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--nfl-yellow);
    font-weight: bold;
    text-align: center;
    border: 2px solid var(--nfl-yellow);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-outline:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: var(--nfl-dark);
    font-weight: bold;
    text-align: center;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 200px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.football-btn {
    position: relative;
    overflow: hidden;
}

.football-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0.2;
    /* animation: shine 3s infinite; */
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(0) rotate(45deg); }
    100% { transform: translateX(100%) translateY(0) rotate(45deg); }
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
    width: 100%;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-features {
        flex-direction: row;
        gap: 4rem;
        justify-content: center;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s both;
    animation-delay: calc(var(--item-index) * 0.2s);
    text-align: center;
}

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

.feature-title {
    font-weight: bold;
    font-size: 1.75rem;
    color: var(--nfl-yellow);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    position: relative;
    padding: 2rem 0;
    background-color: var(--nfl-darker);
    color: white;
}

.section-header {
    max-width: 64rem;
    margin: 0 auto 1.5rem;
    text-align: center;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: var(--nfl-dark);
    border: 1px solid var(--nfl-gray);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    box-shadow: 0 30px 40px -15px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.1);
    transform: translateY(-10px);
    border-color: var(--nfl-yellow);
}

.football-stitches {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    opacity: 0.2;
}

.football-stitches::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 5px, white 5px, white 10px);
}

.icon-container {
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--nfl-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: float 4s ease-in-out infinite;
    position: relative;
}

.icon-container::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--nfl-yellow) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 3s infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.icon-container i {
    font-size: 2.5rem;
    color: var(--nfl-yellow);
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.feature-card-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* SmartTrack Section */
.smarttrack-section {
    position: relative;
    padding: 2rem 0;
    background-color: var(--nfl-dark);
    color: white;
    overflow: hidden;
}

.smarttrack-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .smarttrack-content {
        flex-direction: row;
        align-items: center;
    }
    
    .smarttrack-image,
    .smarttrack-text {
        width: 50%;
    }
}

.dashboard-preview {
    background-color: var(--nfl-darker);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--nfl-gray);
    transform: perspective(1200px) rotateY(-3deg) rotateX(3deg);
    transition: all 0.5s ease;
}

.dashboard-preview:hover {
    transform: perspective(1500px) rotateY(0) rotateX(0);
    box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.2);
}

.dashboard-header {
    background-color: var(--nfl-yellow);
    color: var(--nfl-dark);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

.dashboard-title {
    font-weight: bold;
    font-size: 1.2rem;
}

.dashboard-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
}

.dashboard-body {
    padding: 1.5rem;
    background-color: var(--nfl-darker);
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.highlight-card {
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--nfl-yellow);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.performance-chart {
    height: 150px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-line {
    position: absolute;
    left: 10%;
    top: 70%;
    width: 85%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--nfl-yellow) 10%, 
        var(--nfl-yellow) 25%, 
        var(--nfl-red) 40%, 
        var(--nfl-yellow) 55%, 
        var(--nfl-yellow) 70%, 
        var(--nfl-red) 85%, 
        var(--nfl-yellow) 95%
    );
}

.chart-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--nfl-yellow);
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.chart-point.active {
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.2);
}

.recent-picks {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pick-row {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pick-row:last-child {
    border-bottom: none;
}

.pick-row.win {
    border-left: 3px solid var(--nfl-yellow);
}

.pick-row.loss {
    border-left: 3px solid var(--nfl-red);
}

.pick-team {
    font-weight: bold;
}

.pick-result {
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.pick-row.win .pick-result {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--nfl-yellow);
}

.pick-row.loss .pick-result {
    background-color: rgba(229, 62, 62, 0.2);
    color: var(--nfl-red);
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.smarttrack-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .smarttrack-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.smarttrack-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.smarttrack-features .feature i {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--nfl-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nfl-yellow);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.smarttrack-features .feature span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* About Section Styles */
.about-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: center;
        padding: 0 2rem;
    }
    
    .image-container,
    .text-content {
        flex: 1;
        max-width: 50%;
    }
}

.text-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.count-up {
    color: var(--nfl-yellow);
    font-weight: 900;
    font-size: 1.5rem;
    display: inline-block;
    position: relative;
    margin: 0 0.1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.count-up::after {
    content: '%';
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 1px;
}

/* Live Demo Container Styles */
.live-demo-container {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.live-demo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.15);
}

.live-demo-header {
    background-color: var(--nfl-darker);
    color: var(--nfl-yellow);
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.live-demo-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tab {
    flex: 1;
    background: none;
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
}

.demo-tab:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.demo-tab.active {
    background-color: rgba(255, 215, 0, 0.1);
    color: var(--nfl-yellow);
    border-bottom: 2px solid var(--nfl-yellow);
}

.live-demo-content {
    padding: 0;
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.demo-scroll-container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.demo-state {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.demo-state.in-view {
    opacity: 1;
    transform: translateY(0);
}

.demo-section-title {
    text-align: center;
    font-weight: bold;
    color: var(--nfl-yellow);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.demo-divider {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    gap: 1rem;
}

.divider-line {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 215, 0, 0.2);
}

.divider-text {
    color: var(--nfl-yellow);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 4px;
}

/* Game Grid Styles - Mimicking live_demo.html */
.demo-state .games-container {
    font-size: 0.9rem;
}

.demo-state .game-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1.5fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
}

.demo-state .game-grid-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ffc107;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-state .game-grid-header > div {
    text-align: center;
}

.demo-state .game-row {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.5rem;
}

.demo-state .game-time-section {
    margin: 0.5rem 0;
}

.demo-state .game-time-header {
    margin-bottom: 10px;
    color: #ffc107;
    font-size: 0.9rem;
    font-weight: 600;
}

.demo-state .team-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-state .team-logo {
    display: flex;
    align-items: center;
    width: 25px;
    height: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-state .team-name {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: bold;
}

.demo-state .team-name small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85em;
    font-weight: normal;
}

.demo-state .spread, 
.demo-state .score {
    text-align: center;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
}

.demo-state .locked-pick {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    background-color: rgba(50, 50, 50, 0.5);
    justify-content: center;
}

.demo-state .locked-pick i {
    color: var(--nfl-yellow);
    font-size: 0.8rem;
}

.demo-state .countdown-bar {
    background-color: rgba(255, 215, 0, 0.1);
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--nfl-yellow);
    border-radius: 0 0 4px 4px;
    margin-top: -0.5rem;
}

.demo-state .pick {
    display: inline-block;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.demo-state .pick-website {
    background-color: rgba(49, 130, 206, 0.2);
    color: #3182CE;
    border: 1px solid rgba(49, 130, 206, 0.3);
}

.demo-state .pick-timestamp {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    border-radius: 4px;
}

.demo-message {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* NFL Team Icons */
.nfl-team-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
}

.nfl-team-icon.kc::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: #E31837;
    border-radius: 50%;
}

.nfl-team-icon.den::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: #002244;
    border-radius: 50%;
}

/* Original Game Results Container Styles (keeping for reference) */
.game-results-container {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    padding: 2rem 0;
    background-color: var(--nfl-yellow);
    color: var(--nfl-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.1;
    background-image: repeating-linear-gradient(45deg, rgb(0 0 0), rgba(0, 0, 0, 0.05) 2px, #000000f5 2px, transparent 4px), repeating-linear-gradient(-45deg, rgb(0 0 0), rgba(0, 0, 0, 0.05) 2px, transparent 2px, transparent 4px);
}

.cta-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-description {
    font-size: 1.5rem;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-section .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-section .btn-secondary {
    display: inline-block;
}

/* Pricing Section */
.pricing-section {
    position: relative;
    padding: 2rem 0;
    background-color: var(--nfl-darker);
    color: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    background-color: var(--nfl-dark);
    border: 1px solid var(--nfl-gray);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px -15px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--nfl-yellow);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 1.5rem;
    right: -4rem;
    background-color: var(--nfl-yellow);
    color: var(--nfl-dark);
    font-weight: bold;
    padding: 0.5rem 4rem;
    transform: rotate(45deg);
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pricing-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.pricing-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.pricing-amount {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.price {
    font-size: 4rem;
    font-weight: 900;
    color: var(--nfl-yellow);
    line-height: 1;
    letter-spacing: -2px;
}

.pricing-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.pricing-features i {
    color: var(--nfl-yellow);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.pricing-footer {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    width: 90%;
    line-height: 1.6;
}

/* Responsive Grid */
.grid {
    display: grid;
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:w-1\/2 {
        width: 50%;
    }
    
    .md\:pl-12 {
        padding-left: 3rem;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.gap-12 {
    gap: 3rem;
}

/* Spacing */
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-12 {
    margin-top: 3rem;
}

/* Typography */
.text-xl {
    font-size: 1.25rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

/* Widths */
.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* Images */
.h-auto {
    height: auto;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Media Queries */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

/* Picks Table Preview Styles */
.picks-table-preview {
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.preview-table th {
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-time-header td {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
}

.preview-pick-row td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-pick-row:last-child td {
    border-bottom: none;
}

.preview-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.preview-team {
    padding: 0.35rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    font-weight: bold;
    font-size: 0.85rem;
    transition: all 0.3s;
    position: relative;
}

.preview-team.picked {
    background-color: var(--nfl-yellow);
    color: var(--nfl-dark);
}

.preview-rec-badge {
    position: absolute;
    top: -10px;
    right: -8px;
    font-size: 0.65rem;
    background-color: #28a745;
    color: white;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    letter-spacing: 0.5px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transform: scale(0.85);
}

.preview-spread {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.preview-wager {
    text-align: center;
    font-weight: 500;
    color: var(--nfl-yellow);
}

.preview-result {
    text-align: center;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    min-width: 4rem;
}

.preview-result.win {
    background-color: rgba(25, 135, 84, 0.2);
    color: #28a745;
}

.preview-result.loss {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.preview-result.push {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.weekly-summary {
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.03);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.summary-value {
    font-weight: bold;
    color: var(--nfl-yellow);
    font-size: 0.9rem;
}

/* Team name positioning - exactly like live_demo.html */
.preview-team .team-name {
    position: relative;
    display: inline-block;
}

/* Spread positioning - exactly from live_demo.html */
.preview-team .team-name .spread {
    position: absolute;
    color: #7d8cf6;
    font-size: 1.05em;
    white-space: nowrap;
    font-weight: 600;
}

/* Spread appears to the RIGHT of team name */
.preview-team .team-name .spread {
    left: 100%;
    margin-left: 4px;
} 

/* ========================================== */
/* Demo Window Frame Styles */
/* ========================================== */

.demo-window-frame {
    background-color: #282c34; /* Dark background for the frame */
    border-radius: 8px; /* Rounded corners for the window */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    overflow: hidden; /* Keep contents clipped */
    margin-bottom: 2rem; /* Maintain space below */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

.demo-window-header {
    background-color: #3c4049; /* Slightly lighter header bar */
    height: 25px; /* Height of the header bar */
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative; /* For positioning pseudo-elements */
}

/* Add faux window control buttons */
.demo-window-header::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #ff5f57; /* Red */
    border-radius: 50%;
    box-shadow: 15px 0 0 #ffbd2e, /* Yellow */
                30px 0 0 #28c940; /* Green */
}

/* ========================================== */
/* Interactive Demo Section Styles (new_home.css) */
/* ========================================== */

.interactive-demo {
    /* Adjustments for the interactive demo content inside the frame */
    /* Remove frame-like styles previously applied directly */
    background: var(--nfl-dark); /* Keep the original dark background for the content area */
    border: none; /* Remove border, frame has it now */
    border-radius: 0 0 8px 8px; /* Round only bottom corners to fit frame */
    /* Padding was 1.5rem, keep it for content spacing */
    padding: 1.5rem;
    /* Keep other styles like position: relative, color, margin-bottom, overflow */
    position: relative;
    color: white;
    margin-bottom: 0; /* Remove bottom margin, frame has it now */
    overflow: hidden; /* Ensure content stays within bounds */
    min-height: 500px; /* Set a consistent minimum height */
}

.interactive-demo .demo-page {
    min-height: 420px; /* Set a minimum height for each page to prevent shifting */
}

.interactive-demo .demo-section-title {
    color: var(--nfl-yellow); /* Use theme yellow */
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1em;
    /* Ensure it's not affected by header styles */
    position: relative;
    z-index: 1;
}

.interactive-demo .games-container {
    background: none; /* Remove background from game_styles.css if inherited */
    border-radius: 0;
    padding: 0; /* Reset padding */
    margin-bottom: 1rem; /* Space before navigation */
}

.interactive-demo .game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Explicit 4 columns */
    gap: 0.5rem 1rem; /* Adjust gap */
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separator line */
    font-size: 0.9em;
}

.interactive-demo .game-grid:last-child {
    border-bottom: none;
}

.interactive-demo .game-grid-header {
    font-weight: bold;
    color: var(--nfl-yellow-light); /* Lighter yellow for header */
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center; /* Center header text */
    border-bottom: 2px solid var(--nfl-yellow);
}

.interactive-demo .game-grid-header > div {
    text-align: center; /* Center header text */
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    color: #a0aec0; /* Lighter text for headers */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.interactive-demo .game-grid.game-row .team-info,
.interactive-demo .game-grid.game-row .pick-info {
    display: flex;
    flex-direction: column; /* Stack items like logo and name if they were separate, or helps with single item alignment */
    align-items: center; /* Horizontally center content */
    justify-content: center; /* Vertically center content (if height allows) */
    text-align: center; /* Fallback for text elements */
}

.interactive-demo .game-grid.game-row .team-info .team-logo {
    margin-bottom: 0.25rem; /* Optional: add some space if logo and name are stacked */
}

.interactive-demo .game-grid.game-row .score-info {
    text-align: center; /* Ensure score remains centered */
}

.interactive-demo .team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center items within the cell */
    gap: 4px;
    position: relative;
}

.interactive-demo .team-info .team-logo img {
     width: 24px; /* Keep size consistent with HTML */
     height: 24px;
}

.interactive-demo .team-name {
     margin: 0;
     font-weight: 500;
}

.interactive-demo .team-name {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 20px;
}

.interactive-demo .team-name .spread {
     position: absolute;
     color: #ffffff; /* Blue color for spread */
     font-size: 0.9em;
     font-weight: 600;
     white-space: nowrap;
     top: 50%;
     transform: translateY(-50%);
}

/* Away team spread positioning (appears to the right) */
.interactive-demo .team-info:first-child .team-name .spread {
    left: 100%;
    margin-left: 4px;
}

/* Home team spread positioning (appears to the left) */  
.interactive-demo .team-info:nth-child(2) .team-name .spread {
    right: 100%;
    margin-right: 4px;
}

.interactive-demo .spread,
.interactive-demo .score {
    font-weight: bold;
}

.interactive-demo .score {
    color: var(--nfl-yellow); /* Highlight score */
}

.interactive-demo .locked-pick {
    color: #aaa; /* Dimmed color */
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    font-size: 0.85em;
}

.interactive-demo .locked-pick i {
    font-size: 0.9em;
}

.interactive-demo .pick {
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

.interactive-demo .pick-website { /* Or use .pick-pending if that's defined */
    background-color: var(--nfl-blue); /* Example color */
    color: white;
}

.interactive-demo .game-time-section {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.interactive-demo .game-time-header {
    text-align: center;
    color: var(--nfl-yellow-light);
    font-size: 0.9em;
    margin-bottom: 0.5rem;
}

.interactive-demo .countdown-bar,
.interactive-demo .pick-timestamp {
    text-align: center;
    color: #aaa;
    font-size: 0.8em;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(0,0,0, 0.2);
    border-radius: 4px;
}

/* Navigation Arrows */
.demo-navigation {
    display: flex;
    justify-content: center; /* Center arrows */
    padding-top: 1rem; /* Space above arrows */
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separator */
    margin-top: 0.5rem;
}

.demo-arrow-btn {
    background-color: var(--nfl-yellow);
    color: var(--nfl-dark);
    border: none;
    border-radius: 50%;
    width: 45px; /* Increased size */
    height: 45px; /* Increased size */
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    transition: all 0.2s ease;
    line-height: 1; /* Ensure text centers vertically */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    position: relative;
    /* Replace the text characters with FontAwesome icons in the HTML */
}

.demo-arrow-btn:hover {
    background-color: var(--nfl-yellow-light);
    transform: translateY(-2px); /* Slight lift effect on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.demo-arrow-btn:active {
    transform: translateY(0); /* Press effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Reduced shadow when pressed */
}

/* Add a slight pulsating border for the next button to make it more prominent */
.demo-arrow-btn#demo-next-btn {
    border: 2px solid white; /* Add white border to make it stand out */
}

/* ========================================== */
/* Winning Record Content Styles */
/* ========================================== */

.winning-record-content {
    background: var(--nfl-dark);
    color: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Record Stats Row */
.record-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    text-align: center;
}

.record-stat-item {
    padding: 0.5rem 1rem;
}

.record-stat-item .stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--nfl-yellow);
    margin-bottom: 0.5rem;
}

.record-stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Record Summary Section */
.record-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: bold;
    color: var(--nfl-yellow-light);
}

.summary-value {
    font-weight: bold;
}