/* Shared styles for matcher idag - Sweden - Swedish */
:root {
    --swedish-blue: #003F87;
    --swedish-gold: #FECC02;
    --white: #ffffff;
    --near-black: #080c14;
    --mid-blue: #1a3a6b;
    --glow-gold: 0 0 15px rgba(254, 204, 2, 0.4);
}

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

body {
    background-color: var(--near-black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background: rgba(8, 12, 20, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(254, 204, 2, 0.2);
    padding: 15px 0;
}

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

.logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--swedish-gold);
    text-shadow: var(--glow-gold);
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    position: relative;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--swedish-gold);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.live-ticker-strip {
    background: var(--swedish-gold);
    color: var(--near-black);
    padding: 8px 0;
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}

.ticker-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.ticker-content span {
    margin: 0 40px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--swedish-gold);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--near-black);
    z-index: 2000;
    padding: 60px 20px;
    transition: 0.4s;
    border-left: 2px solid var(--swedish-gold);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    font-size: 18px;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, var(--mid-blue) 0%, var(--near-black) 70%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero h1 span {
    color: var(--swedish-gold);
}

.idag-display {
    display: inline-block;
    background: var(--swedish-gold);
    color: var(--near-black);
    padding: 10px 30px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 24px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #cbd5e0;
}

/* Sport Tabs */
.sport-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.sport-tab {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(254, 204, 2, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.sport-tab:hover, .sport-tab.active {
    background: var(--swedish-gold);
    color: var(--near-black);
    border-color: var(--swedish-gold);
}

/* Match Cards */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.match-card {
    background: linear-gradient(135deg, var(--mid-blue) 0%, var(--near-black) 100%);
    border: 1px solid rgba(254, 204, 2, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: 0.3s;
    position: relative;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: var(--swedish-gold);
    box-shadow: var(--glow-gold);
}

.match-time {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: var(--swedish-gold);
    margin-bottom: 10px;
    display: block;
}

.match-teams {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.match-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #48bb78;
    text-transform: uppercase;
}

.match-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #48bb78;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

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

/* Content Sections */
section {
    padding: 60px 0;
}

.section-divider {
    height: 1px;
    background: var(--swedish-gold);
    opacity: 0.3;
    margin: 40px 0;
}

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

.content-wrap h2 {
    color: var(--swedish-gold);
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.content-wrap p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #e2e8f0;
}

.content-wrap ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.content-wrap li {
    margin-bottom: 10px;
    position: relative;
}

.content-wrap li::before {
    content: '→';
    color: var(--swedish-gold);
    position: absolute;
    left: -25px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 8px;
}

.faq-item h4 {
    color: var(--swedish-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Comments */
.comments-section {
    margin-top: 60px;
}

.comment-card {
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 3px solid var(--swedish-gold);
}

.comment-user {
    display: block;
    font-weight: 700;
    color: var(--swedish-gold);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #04060a;
    padding: 80px 0 40px;
    border-top: 2px solid var(--swedish-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--swedish-gold);
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--swedish-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col a:hover {
    color: var(--swedish-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #718096;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
