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

:root{
    --primary:#22c55e;
    --primary-dark:#16a34a;

    --dark:#0f172a;
    --nav:#111827;
    --card:#1e293b;

    --text:#ffffff;
    --gray:#94a3b8;

    --danger:#ef4444;
    --gold:#fbbf24;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:var(--dark);
    color:var(--text);
    line-height:1.6;
}

/* NAVBAR */

.navbar{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 40px;

    background:var(--nav);

    border-bottom:1px solid rgba(255,255,255,.1);
}

.logo{
    font-size:28px;
    font-weight:800;
    color:var(--primary);
}

.nav-links{
    list-style:none;
    display:flex;
    gap:20px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-weight:600;
    transition:.3s;
}

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

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:40px 0;
}

/* HERO */

.hero{
    text-align:center;
    padding:100px 20px;
}

.hero h1{
    font-size:4rem;
    color:var(--primary);
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    color:#d1d5db;
    font-size:1.2rem;
}

/* BUTTONS */

.btn{
    display:inline-block;
    margin-top:30px;

    padding:14px 30px;

    background:var(--primary);

    color:white;
    text-decoration:none;

    border-radius:10px;

    font-weight:700;

    transition:.3s;
}

.btn:hover{
    background:var(--primary-dark);
}

/* CARDS */

.card{
    background:var(--card);

    padding:25px;

    margin-bottom:20px;

    border-radius:15px;

    border-left:5px solid var(--primary);

    box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.card h2,
.card h3{
    color:var(--primary);
}

.card p{
    margin-top:10px;
}

/* STATS */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

/* PAGES */

.page{
    width:90%;
    max-width:1000px;
    margin:auto;
    padding:60px 0;
}

.page h1{
    text-align:center;
    margin-bottom:30px;
}

.fixtures-page .section-heading{
    margin-bottom:30px;
    text-align:center;
}

.fixtures-page .section-label{
    color:var(--primary);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.fixtures-count{
    margin-bottom:15px;
    color:var(--gray);
}

.fixtures-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
    margin-top:20px;
}

.fixture-card{
    margin-bottom:0;
    padding:20px;
    border-radius:12px;
    background:#1e293b;
    color:white;
    box-shadow:0 4px 12px rgba(0,0,0,.2);
}

.fixture-card h3{
    margin-bottom:10px;
    color:#f59e0b;
}

.fixture-card p{
    margin:8px 0;
}

.fixture-card h2{
    font-size:1.15rem;
}

.fixture-kickoff,
.fixture-result{
    color:var(--gray);
}

.fixture-kickoff strong,
.fixture-result strong{
    color:var(--text);
}

/* FORMS */

input,
select,
textarea{
    width:100%;

    padding:12px;

    margin-top:5px;
    margin-bottom:20px;

    border:none;

    border-radius:10px;
}

button{
    background:var(--primary);

    color:white;

    border:none;

    padding:12px 20px;

    border-radius:10px;

    cursor:pointer;

    font-weight:700;
}

button:hover{
    background:var(--primary-dark);
}

/* DELETE BUTTON */

.delete-btn{
    background:var(--danger);
    color:white;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

    font-weight:700;
}

.delete-btn:hover{
    background:#dc2626;
}

/* WIN / LOSS */

.win{
    color:#22c55e;
    font-weight:700;
}

.loss{
    color:#ef4444;
    font-weight:700;
}

/* ADVERTISEMENT */

.ad-box{
    background:#374151;

    padding:40px;

    border-radius:15px;

    text-align:center;

    font-size:20px;
}

/* FOOTER */

footer{
    margin-top:50px;

    padding:25px;

    text-align:center;

    background:var(--nav);

    color:var(--gray);
}

/* MOBILE */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:2.8rem;
    }

}

.hero {
    text-align: center;
    padding: 40px;
}

.hero h1 {
    font-size: 3rem;
}

.dashboard-section {
    margin: 30px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    color: white;
}

.dashboard-card {
    background: #f59e0b;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    display: block;
}

.dashboard-card:hover {
    opacity: 0.9;
}

.btn {
    background: #f59e0b;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.home-dashboard{
    --home-accent:#4ade80;
    --home-border:rgba(148,163,184,.18);
}

.home-hero{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:340px;
    overflow:hidden;
    padding:clamp(32px,7vw,72px);
    border:1px solid var(--home-border);
    border-radius:24px;
    background:
        radial-gradient(circle at 85% 20%,rgba(34,197,94,.2),transparent 30%),
        linear-gradient(135deg,#172554 0%,#111827 58%,#10251e 100%);
}

.home-hero-content{
    position:relative;
    z-index:1;
    max-width:680px;
}

.home-dashboard .home-eyebrow{
    margin-bottom:10px;
    color:var(--home-accent);
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.home-hero h1{
    max-width:650px;
    margin-bottom:16px;
    color:var(--text);
    font-size:clamp(2.4rem,5vw,4rem);
    line-height:1.12;
}

.home-hero-description{
    max-width:580px;
    color:#cbd5e1;
    font-size:1.05rem;
}

.home-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.home-dashboard .home-hero-actions .btn,
.home-dashboard .home-partner-callout .btn{
    margin-top:0;
    padding:12px 20px;
}

.home-dashboard .home-primary-btn{
    background:var(--home-accent);
    color:#052e16;
}

.home-dashboard .home-primary-btn:hover{
    background:#86efac;
}

.home-dashboard .home-secondary-btn{
    border:1px solid rgba(255,255,255,.25);
    background:rgba(15,23,42,.35);
    color:var(--text);
}

.home-dashboard .home-secondary-btn:hover{
    background:rgba(255,255,255,.12);
}

.home-hero-mark{
    position:absolute;
    right:7%;
    color:rgba(255,255,255,.045);
    font-size:clamp(8rem,22vw,17rem);
    font-weight:800;
    letter-spacing:-.12em;
    line-height:1;
    user-select:none;
}

.home-section{
    margin-top:56px;
}

.home-section-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.home-section-heading h2,
.home-partner-callout h2{
    color:var(--text);
    font-size:clamp(1.5rem,3vw,2rem);
    line-height:1.25;
}

.home-text-link{
    flex-shrink:0;
    color:var(--home-accent);
    font-weight:600;
    text-decoration:none;
}

.home-text-link:hover{
    color:#86efac;
}

.home-featured-card,
.home-prediction-card,
.home-empty-card{
    border:1px solid var(--home-border);
    border-radius:18px;
    background:linear-gradient(145deg,#1e293b,#172033);
    box-shadow:0 12px 32px rgba(0,0,0,.16);
}

.home-featured-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:30px;
    border-left:4px solid var(--home-accent);
}

.home-card-label{
    margin-bottom:10px;
    color:#94a3b8;
    font-size:.75rem;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.home-featured-card h3,
.home-prediction-card h3{
    color:var(--text);
    font-size:clamp(1.15rem,2.4vw,1.55rem);
}

.home-versus{
    padding:0 6px;
    color:#94a3b8;
    font-size:.82em;
    font-weight:500;
}

.home-featured-pick{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:16px;
}

.home-featured-pick span,
.home-confidence span,
.home-prediction-details span{
    color:#94a3b8;
}

.home-featured-pick strong{
    color:var(--home-accent);
}

.home-confidence{
    display:grid;
    gap:4px;
    min-width:130px;
    padding:16px 20px;
    border:1px solid var(--home-border);
    border-radius:14px;
    text-align:center;
}

.home-confidence strong{
    color:var(--home-accent);
    font-size:1.8rem;
}

.home-quick-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.home-quick-link{
    display:flex;
    align-items:center;
    gap:16px;
    min-height:92px;
    padding:18px;
    border:1px solid var(--home-border);
    border-radius:16px;
    background:#172033;
    color:var(--text);
    text-decoration:none;
    transition:transform .2s ease,border-color .2s ease,background .2s ease;
}

.home-quick-link:hover{
    transform:translateY(-2px);
    border-color:rgba(74,222,128,.55);
    background:#1b2a3d;
}

.home-link-icon{
    display:grid;
    flex:0 0 42px;
    height:42px;
    place-items:center;
    border-radius:12px;
    background:rgba(74,222,128,.12);
    color:var(--home-accent);
    font-size:.78rem;
    font-weight:700;
}

.home-quick-link strong,
.home-quick-link small{
    display:block;
}

.home-quick-link small{
    margin-top:3px;
    color:#94a3b8;
}

.home-link-arrow{
    margin-left:auto;
    color:var(--home-accent);
    font-size:1.25rem;
}

.home-prediction-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:16px;
}

.home-prediction-card{
    padding:22px;
}

.home-prediction-details{
    display:grid;
    gap:10px;
    margin-top:18px;
}

.home-prediction-details p{
    display:flex;
    justify-content:space-between;
    gap:12px;
}

.home-prediction-details strong{
    color:var(--text);
    text-align:right;
}

.home-status{
    display:inline-flex;
    margin-top:18px;
    padding:5px 10px;
    border-radius:999px;
    font-size:.78rem;
    font-weight:700;
}

.home-status-won{
    background:rgba(34,197,94,.12);
    color:#4ade80;
}

.home-status-lost{
    background:rgba(239,68,68,.12);
    color:#f87171;
}

.home-status-pending{
    background:rgba(251,191,36,.12);
    color:#fbbf24;
}

.home-empty-card{
    padding:24px;
}

.home-empty-card h3{
    color:var(--text);
}

.home-empty-card p{
    margin-top:6px;
    color:#94a3b8;
}

.home-partner-callout{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-top:56px;
    padding:clamp(24px,5vw,40px);
    border:1px solid rgba(74,222,128,.22);
    border-radius:20px;
    background:linear-gradient(120deg,rgba(34,197,94,.12),rgba(30,41,59,.85));
}

.home-partner-callout p:not(.home-eyebrow){
    max-width:620px;
    margin-top:10px;
    color:#cbd5e1;
}

@media(max-width:640px){
    .home-hero{
        min-height:0;
        padding:32px 22px;
    }

    .home-hero-mark{
        right:4%;
        top:8%;
        font-size:8rem;
    }

    .home-section{
        margin-top:40px;
    }

    .home-featured-card,
    .home-partner-callout{
        align-items:flex-start;
        flex-direction:column;
    }

    .home-confidence{
        width:100%;
    }

    .home-quick-links{
        grid-template-columns:1fr;
    }

    .home-section-heading{
        align-items:flex-start;
    }
}