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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: url('./images/tampere.jpg') center/cover no-repeat fixed;
            min-height: 100vh;
            color: #333;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
            z-index: -1;
            pointer-events: none;
        }

        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

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

        .logo {
            font-size: 2rem;
            font-weight: bold;
            background: linear-gradient(45deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .nav-link:hover {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            transform: translateY(-2px);
        }

        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 200px;
            max-height: 400px;
            overflow-y: auto;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1001;
            scrollbar-width: thin;
            scrollbar-color: rgba(102, 126, 234, 0.3) transparent;
        }

        .dropdown::-webkit-scrollbar {
            width: 6px;
        }

        .dropdown::-webkit-scrollbar-track {
            background: transparent;
        }

        .dropdown::-webkit-scrollbar-thumb {
            background: rgba(102, 126, 234, 0.3);
            border-radius: 3px;
        }

        .dropdown::-webkit-scrollbar-thumb:hover {
            background: rgba(102, 126, 234, 0.5);
        }

        .nav-item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            padding: 0.75rem 1rem;
            color: #333;
            text-decoration: none;
            display: block;
            transition: background 0.3s ease;
            cursor: pointer;
        }

        .dropdown-item:hover {
            background: #f8f9fa;
            color: #667eea;
        }

        .container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        .hero {
            text-align: center;
            padding: 4rem 0 2rem 0;
            color: white;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            font-weight: 900;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 
                         -1px -1px 2px rgba(0, 0, 0, 0.5),
                         2px -2px 4px rgba(0, 0, 0, 0.6);
            letter-spacing: 2px;
            stop-color: 2px rgba(0, 0, 0, 0.3);
            -webkit-text-stroke: 1px rgba(0, 0, 0, 0.2);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            color: #000;
            font-weight: 600;
            text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
        }

        .main-content {
            display: grid;
            grid-template-columns: 200px 1fr 200px;
            gap: 1.5rem;
            max-width: 100%;
            margin: 0;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .ad-space {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 1rem;
            border-radius: 10px;
            text-align: center;
            min-height: 150px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border: 2px dashed #667eea;
            color: #666;
            font-size: 0.9rem;
        }

        .ad-space h4 {
            color: #667eea;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .content-center {
            max-width: 800px;
        }

        .section {
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(10px);
            margin: 2rem 0;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            display: none;
            width: 100%;
            box-sizing: border-box;
        }

        .section.active {
            display: block;
            animation: fadeIn 0.5s ease-in;
        }

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

        .section h2 {
            color: #667eea;
            margin-bottom: 1.5rem;
            font-size: 2rem;
        }

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

        .card {
            background: rgba(248, 249, 255, 0.85);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 10px;
            border-left: 4px solid #667eea;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            background: rgba(248, 249, 255, 0.95);
        }

        .card h3 {
            color: #333;
            margin-bottom: 1rem;
        }

        .card ul {
            list-style: none;
            padding: 0;
        }

        .card li {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .card li:hover {
            color: #667eea;
        }

        .news-item {
            background: rgba(255, 255, 255, 0.8);
            padding: 1rem;
            margin: 0.5rem 0;
            border-radius: 8px;
            border-left: 3px solid #667eea;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .date {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .quick-links {
            margin-top: 2rem;
        }

        .quick-links h3 {
            color: white;
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .quick-links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 1rem;
            max-width: 700px;
            margin: 0 auto;
        }

        .quick-link {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
            backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            border: 2px solid rgba(102, 126, 234, 0.2);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
        }

        .quick-link:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: rgba(255, 255, 255, 0.5);
        }

        .quick-link-marker {
            font-size: 1.8rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.3rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }

        .quick-link:hover .quick-link-marker {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(8deg);
            box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
        }

        .quick-link-marker.sports-triangle {
            position: relative;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: visible;
        }

        .sport-icon {
            position: absolute;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .sport-icon.top {
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
        }

        .sport-icon.bottom-left {
            bottom: -8px;
            left: 8px;
        }

        .sport-icon.bottom-right {
            bottom: -8px;
            right: 8px;
        }

        .quick-link:hover .sport-icon {
            transform: scale(1.1);
        }

        .quick-link:hover .sport-icon.top {
            transform: translateX(-50%) scale(1.1) rotate(-5deg);
        }

        .quick-link:hover .sport-icon.bottom-left {
            transform: scale(1.1) rotate(5deg);
        }

        .quick-link:hover .sport-icon.bottom-right {
            transform: scale(1.1) rotate(-5deg);
        }

        .quick-link span {
            font-weight: 600;
            font-size: 0.95rem;
            color: #333;
            transition: color 0.3s ease;
        }

        .quick-link:hover span {
            color: white;
        }

        .newspapers {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 0.8rem;
            margin-top: 3rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .newspaper-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 0.8rem;
            border-radius: 10px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            border-top: 3px solid #667eea;
            cursor: pointer;
            min-height: 120px;
        }

        .newspaper-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
            background: rgba(255, 255, 255, 0.95);
        }

        .newspaper-logo {
            width: 40px;
            height: 40px;
            margin: 0 auto 0.3rem auto;
            background: linear-gradient(45deg, #667eea, #764ba2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: white;
            font-weight: bold;
        }

        .newspaper-name {
            font-weight: bold;
            color: #333;
            margin-bottom: 0.2rem;
            font-size: 0.85rem;
        }

        .newspaper-desc {
            font-size: 0.7rem;
            color: #666;
            margin-bottom: 0.6rem;
        }

        .newspaper-link {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            text-decoration: none;
            border-radius: 15px;
            font-size: 0.7rem;
            transition: all 0.3s ease;
        }

        .newspaper-link:hover {
            transform: scale(1.05);
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
        }

        .portal-item, .sports-club {
            padding: 1rem;
            margin: 0.5rem 0;
            background: rgba(102, 126, 234, 0.05);
            border-radius: 8px;
            border-left: 3px solid #667eea;
            transition: all 0.3s ease;
        }

        .portal-item:hover, .sports-club:hover {
            background: rgba(102, 126, 234, 0.1);
            transform: translateX(5px);
        }

        .portal-item strong, .sports-club strong {
            color: #333;
            font-size: 1.1rem;
            display: block;
            margin-bottom: 0.3rem;
        }

        .portal-item a, .sports-club a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
            display: block;
            margin-bottom: 0.3rem;
        }

        .portal-item a:hover, .sports-club a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .portal-item small, .sports-club small {
            color: #666;
            font-size: 0.9rem;
            font-style: italic;
        }

        .job-portal, .sports-categories {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .school-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .school-item {
            padding: 0.8rem;
            background: rgba(102, 126, 234, 0.05);
            border-radius: 6px;
            border-left: 3px solid #667eea;
            transition: all 0.3s ease;
        }

        .school-item:hover {
            background: rgba(102, 126, 234, 0.1);
            transform: translateX(5px);
        }

        .school-item strong {
            color: #333;
            display: block;
            margin-bottom: 0.2rem;
        }

        .school-item small {
            color: #666;
            font-size: 0.8rem;
            font-style: italic;
            display: block;
            margin-bottom: 0.3rem;
        }

        .school-item a {
            color: #667eea;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .school-item a:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: #333;
            margin: 3px 0;
            transition: 0.3s;
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }
            
            .mobile-menu {
                display: flex;
            }
            
            .nav-container {
                padding: 0 1rem;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            .hero {
                padding: 2rem 1rem 1rem 1rem;
            }
            
            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
            }
            
            .hero p {
                font-size: 1rem;
                margin-bottom: 1rem;
            }
            
            .container {
                padding: 1rem;
                max-width: 100%;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .card {
                padding: 1rem;
                margin: 0.5rem 0;
            }
            
            .card h3 {
                font-size: 1.1rem;
            }

            .quick-links-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.8rem;
            }
            
            .quick-link {
                padding: 0.8rem;
                gap: 0.4rem;
            }
            
            .quick-link-marker {
                width: 40px;
                height: 40px;
                font-size: 1.4rem;
            }
            
            .quick-link span {
                font-size: 0.85rem;
            }

            .main-content {
                grid-template-columns: 1fr;
                gap: 1rem;
                margin: 1rem;
                max-width: calc(100% - 2rem);
                padding: 1rem;
            }

            .sidebar {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0.8rem;
                flex-direction: row;
            }
            
            .ad-space {
                min-height: 120px;
                padding: 0.8rem;
                font-size: 0.8rem;
            }
            
            .ad-space h4 {
                font-size: 0.9rem;
            }

            .newspapers {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.6rem;
                margin-top: 2rem;
            }
            
            .newspaper-card {
                padding: 0.6rem;
                min-height: 100px;
            }
            
            .newspaper-logo {
                width: 30px;
                height: 30px;
                font-size: 1rem;
            }
            
            .newspaper-name {
                font-size: 0.75rem;
            }
            
            .newspaper-desc {
                font-size: 0.65rem;
            }
            
            .newspaper-link {
                padding: 0.25rem 0.6rem;
                font-size: 0.65rem;
            }
            
            .section {
                margin: 1rem;
                padding: 1rem;
                border-radius: 10px;
                width: calc(100% - 2rem);
                max-width: calc(100% - 2rem);
            }
            
            .section h2 {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }
            
            .portal-item, .sports-club, .school-item {
                padding: 0.8rem;
                margin: 0.4rem 0;
            }
            
            .portal-item strong, .sports-club strong, .school-item strong {
                font-size: 1rem;
            }
            
            .portal-item small, .sports-club small, .school-item small {
                font-size: 0.8rem;
            }
            
            .portal-item a, .sports-club a, .school-item a {
                font-size: 0.8rem;
            }
            
            .news-item {
                padding: 0.8rem;
                margin: 0.4rem 0;
            }
            
            .date {
                font-size: 0.8rem;
            }
            
            .dropdown {
                min-width: 180px;
                max-height: 300px;
            }
            
            .dropdown-item {
                padding: 0.6rem 0.8rem;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.2rem;
            }
            
            .hero {
                padding: 1rem 0.5rem;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .hero p {
                font-size: 0.9rem;
            }
            
            .quick-links-grid {
                grid-template-columns: 1fr;
                gap: 0.6rem;
            }
            
            .newspapers {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                grid-template-columns: 1fr;
            }
            
            .main-content {
                grid-template-columns: 1fr;
                margin: 0.5rem;
                max-width: calc(100% - 1rem);
                padding: 0.8rem;
            }
            
            .content-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }
            
            .card {
                padding: 0.8rem;
            }
            
            .section {
                padding: 0.8rem;
                margin: 0.5rem;
                width: calc(100% - 1rem);
                max-width: calc(100% - 1rem);
            }
            
            .container {
                padding: 0.5rem;
                max-width: 100%;
            }
            
            .nav-container {
                padding: 0 0.5rem;
            }
        }

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        gap: 0;
        display: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-link {
        width: 100%;
        padding: 1rem;
    }
    .dropdown {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    .dropdown.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }
}

/* KÄVIJÄLASKURIN TYYLIT */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    animation: pulse 2s infinite;
    margin-left: auto;
    margin-right: 1rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 2px 15px rgba(37, 99, 235, 0.5);
    }
}

.visitor-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

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

.visitor-count {
    font-weight: bold;
    margin: 0 0.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.visitor-count.updating {
    transform: scale(1.2);
    color: #4ade80;
}

/* Responsiivisuus kävijälaskurille */
@media (max-width: 768px) {
    .visitor-counter {
        order: 3;
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0 0 0;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
}
.visitor-stats-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: 1rem;
}

/* Reaaliaikainen laskuri */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 2px 15px rgba(37, 99, 235, 0.5);
    }
}

.visitor-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

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

/* Kokonaiskävijät laskuri */
.total-visitors {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.total-visitors-icon {
    font-size: 1rem;
}

.visitor-count, .total-count {
    font-weight: bold;
    margin: 0 0.25rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.visitor-count.updating, .total-count.updating {
    transform: scale(1.2);
    color: #fbbf24;
}

/* Divider mobiilissa piilossa */
.stats-divider {
    width: 1px;
    height: 20px;
    background: #e5e7eb;
    opacity: 0.5;
}

/* Footer kävijätilastot */
.footer-stats {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 12px;
    text-align: center;
}

.footer-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    display: block;
    animation: countUp 1s ease-out;
}

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

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsiivisuus */
@media (max-width: 768px) {
    .visitor-stats-container {
        order: 3;
        width: 100%;
        flex-direction: column;
        margin: 0.5rem 0 0 0;
        gap: 0.5rem;
    }
    
    .stats-divider {
        display: none;
    }
    
    .visitor-counter, .total-visitors {
        width: fit-content;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
}
/* PALUU-NAPPI TYYLIT */
.back-to-home {
    margin: 1rem 0;
    padding: 0.5rem 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

.back-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.back-button:hover .back-arrow {
    transform: translateX(-3px);
}

/* KIINTEÄ PALUU-NAPPI (oikeassa alakulmassa) */
.fixed-back-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: slideIn 0.3s ease;
}

.fixed-back-button button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-back-button button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

/* BREADCRUMB vaihtoehto */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1e40af;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #cbd5e1;
}

/* Mobiilissa pienempi */
@media (max-width: 768px) {
    .fixed-back-button {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fixed-back-button button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .back-button {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}