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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5em;
    font-weight: 800;
    color: #006039;
    text-decoration: none;
}

.logo {
    font-size: 1.8em;
}

.brand-name {
    font-size: 1.2em;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #006039;
    background: #f0f9ff;
}

.nav-link.active {
    color: #006039;
    background: #f0f9ff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #006039;
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #006039;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.2em;
    color: #006039;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #006039 0%, #34d399 100%);
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #006039 0%, #004d2d 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 96, 57, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: #475569;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.btn-secondary:hover {
    background: #334155;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(71, 85, 105, 0.3);
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #006039;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-muted {
    color: #64748b;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.3em; }
    
    .section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    
    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 0.95em;
        width: 100%;
        text-align: center;
    }
    
    .card {
        padding: 20px;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    body {
        background: #0f172a;
        color: #e2e8f0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #f1f5f9;
    }
    
    .navbar, .card {
        background: #1e293b;
        border-color: #334155;
    }
    
    .nav-link {
        color: #cbd5e1;
    }
    
    .nav-link:hover, .nav-link.active {
        background: #334155;
        color: #e2e8f0;
    }
    
    .text-muted {
        color: #94a3b8;
    }
}

        /* ===== EXTRA STYLING FÖR INDEX ===== */
        
        /* Hero-sektion */
        .hero {
            background: linear-gradient(135deg, #006039 0%, #004d2d 100%);
            color: white;
            padding: 60px 20px;
            text-align: center;
            border-radius: 20px;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 Z"/></svg>');
            background-size: cover;
        }
        
        .hero h1 {
            font-size: 2.5em;
            margin-bottom: 15px;
            color: white;
            font-weight: 800;
        }
        
        .hero p {
            font-size: 1.2em;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto 25px;
            line-height: 1.6;
        }
        
        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-top: 30px;
        }
        
        .hero-stat {
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            min-width: 150px;
        }
        
        .hero-stat-value {
            font-size: 2.2em;
            font-weight: 800;
            margin-bottom: 5px;
            color: #34d399;
        }
        
        .hero-stat-label {
            font-size: 0.9em;
            opacity: 0.8;
        }
        
        /* Tips-kort design */
        .tips-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .tips-count {
            background: #f0f9ff;
            color: #006039;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9em;
        }
        
        .tips-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 50px;
        }
        
        @media (max-width: 768px) {
            .tips-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .tip-card {
            background: white;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .tip-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 96, 57, 0.15);
            border-color: #006039;
        }
        
        .tip-header {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 25px 25px 20px;
            border-bottom: 1px solid #e2e8f0;
            position: relative;
        }
        
        .tip-bookmaker {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #006039;
            color: white;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.8em;
            font-weight: 600;
        }
        
        .tip-sport {
            display: inline-block;
            background: #e0f2fe;
            color: #0369a1;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.85em;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        .tip-title {
            font-size: 1.3em;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .tip-event {
            color: #64748b;
            font-size: 0.95em;
            margin-bottom: 15px;
        }
        
        .tip-body {
            padding: 25px;
            flex-grow: 1;
        }
        
        .tip-odds-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .odds-item {
            text-align: center;
            padding: 15px 10px;
            background: #f8fafc;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
        }
        
        .odds-label {
            font-size: 0.85em;
            color: #64748b;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .odds-value {
            font-size: 1.5em;
            font-weight: 800;
            color: #006039;
        }
        
        .odds-boost {
            color: #10b981;
            font-size: 0.9em;
            font-weight: 600;
            margin-top: 5px;
        }
        
        .tip-stats {
            display: flex;
            justify-content: space-between;
            background: #f0f9ff;
            padding: 15px;
            border-radius: 12px;
            margin-top: 20px;
        }
        
        .stat-item {
            text-align: center;
            flex: 1;
        }
        
        .stat-value {
            font-size: 1.4em;
            font-weight: 800;
            color: #006039;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 0.85em;
            color: #64748b;
        }
        
        .tip-footer {
            padding: 20px 25px 25px;
            border-top: 1px solid #e2e8f0;
            background: #f8fafc;
        }
        
        .tip-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.9em;
            color: #64748b;
        }
        
        .tip-date {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .tip-status {
            background: #fef3c7;
            color: #92400e;
            padding: 6px 12px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.85em;
        }
        
        .status-active {
            background: #d1fae5;
            color: #065f46;
        }
        
        .tip-action {
            display: block;
            width: 100%;
            background: linear-gradient(135deg, #006039 0%, #004d2d 100%);
            color: white;
            border: none;
            padding: 16px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1em;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            text-decoration: none;
        }
        
        .tip-action:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 96, 57, 0.3);
        }
        
        /* CTA-sektion */
        .cta-section {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            padding: 60px 40px;
            border-radius: 20px;
            text-align: center;
            margin-top: 40px;
            border: 1px solid #e2e8f0;
        }
        
        .cta-title {
            font-size: 2em;
            color: #006039;
            margin-bottom: 20px;
            font-weight: 800;
        }
        
        .cta-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 30px;
        }
        
        .btn-outline {
            background: transparent;
            color: #006039;
            border: 2px solid #006039;
            padding: 16px 32px;
            border-radius: 12px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .btn-outline:hover {
            background: #006039;
            color: white;
        }
        
        /* Footer */
        .main-footer {
            background: #0f172a;
            color: #e2e8f0;
            padding: 60px 20px 30px;
            margin-top: 80px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .footer-title {
            color: white;
            font-size: 1.2em;
            margin-bottom: 25px;
            font-weight: 700;
        }
        
        .footer-links a {
            display: block;
            color: #94a3b8;
            text-decoration: none;
            margin-bottom: 12px;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .disclaimer {
            background: rgba(239, 68, 68, 0.1);
            border-left: 4px solid #ef4444;
            padding: 20px;
            border-radius: 8px;
            margin-top: 30px;
            font-size: 0.9em;
            color: #fecaca;
        }
        
        .copyright {
            text-align: center;
            padding-top: 40px;
            margin-top: 40px;
            border-top: 1px solid #334155;
            color: #94a3b8;
            font-size: 0.9em;
        }
        
        /* Loading Spinner */
        .loading-spinner {
            text-align: center;
            padding: 60px 20px;
            grid-column: 1 / -1;
        }
        
        .spinner {
            border: 4px solid #f1f5f9;
            border-top: 4px solid #006039;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Empty State */
        .no-tips-message {
            text-align: center;
            padding: 60px 20px;
            grid-column: 1 / -1;
        }
        
        .no-tips-icon {
            font-size: 4em;
            margin-bottom: 20px;
            color: #cbd5e1;
        }
        
      
        
        /* Responsive justeringar */
        @media (max-width: 768px) {
            .hero {
                padding: 40px 20px;
            }
            
            .hero h1 {
                font-size: 2em;
            }
            
            .hero-stats {
                gap: 15px;
            }
            
            .hero-stat {
                min-width: 120px;
                padding: 15px;
            }
            
            .hero-stat-value {
                font-size: 1.8em;
            }
            
            .tips-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .cta-section {
                padding: 40px 20px;
            }
            
            .cta-title {
                font-size: 1.6em;
            }
            
            .tip-header, .tip-body, .tip-footer {
                padding: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .tip-odds-grid {
                grid-template-columns: 1fr;
            }
            
            .hero-stat {
                flex: 1;
                min-width: 100px;
            }
            
            .cta-buttons {
                flex-direction: column;
                width: 100%;
            }
            
            .btn-outline {
                width: 100%;
                text-align: center;
            }
        }
    