/* styles.css */

/* Reset in osnovni stili */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #ff9a56 0%, #ffda56 50%, #ff6b95 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #ff6b95;
    padding: 1rem 0 3rem;
}

/* Navigation */
.main-nav {
    margin-bottom: 2.5rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 107, 149, 0.1);
    border: 2px solid transparent;
}

.nav-links a:hover {
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 149, 0.4);
}

.nav-links a.active {
    background: linear-gradient(45deg, #ff9a56, #ffda56);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 154, 86, 0.4);
}

/* Header Content */
.header-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ff6b95, #ff9a56, #ffda56);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.header-description {
    font-size: 1.3rem;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.last-updated {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
    background: linear-gradient(45deg, rgba(255, 107, 149, 0.15), rgba(255, 154, 86, 0.15));
    padding: 0.8rem 2rem;
    border-radius: 30px;
    display: inline-block;
    border: 2px solid rgba(255, 107, 149, 0.3);
    backdrop-filter: blur(10px);
}

/* Table of Contents */
.toc {
    display: none; /* Удаляем TOC */
}

/* Main Content */
main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.content-section {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.content-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

.content-section p strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: #ecf0f1;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-radius: 20px 20px 0 0;
}

.responsible-gambling {
    text-align: center;
    margin-bottom: 3rem;
}

.responsible-gambling h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #e74c3c;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.help-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    width: 120px;
    height: 60px;
    background: white;
}

.help-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.help-link:focus {
    outline: 3px solid #ff6b95;
    outline-offset: 3px;
}

.help-link::after {
    content: "Kliknite za pomoč";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.help-link:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -25px;
}

.help-link img {
    width: 120px;
    height: 60px;
    cursor: pointer;
    display: block;
}

.responsible-gambling p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Author Section */
.author-info {
    border-top: 2px solid #34495e;
    padding-top: 2rem;
}

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

.author-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #3498db;
    text-align: center;
}

.author-details {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #3498db;
    flex-shrink: 0;
}

.author-text h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.author-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

        /* Добавим анимацию для уведомлений */
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-description {
        font-size: 1.1rem;
    }
    
    main {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .author-details {
        flex-direction: column;
        text-align: center;
    }
    
    .help-links {
        gap: 1rem;
    }
    
    .help-link {
        width: 100px;
        height: 50px;
    }
    
    .help-links img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-description {
        font-size: 1rem;
    }
    
    .last-updated {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
    
    main {
        padding: 1.5rem 1rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .help-link {
        width: 90px;
        height: 45px;
    }
    
    .help-links img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Animacije in prehodi */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .toc,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    main {
        background: white;
        box-shadow: none;
        border: none;
        margin: 0;
    }
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
}

body.dark-mode header {
    background: rgba(44, 62, 80, 0.95);
    border-bottom: 3px solid #ff6b95;
}

body.dark-mode .nav-links a {
    color: #bdc3c7;
    background: rgba(255, 107, 149, 0.1);
}

body.dark-mode .nav-links a:hover {
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    color: white;
}

body.dark-mode .header-description {
    color: #bdc3c7;
}

body.dark-mode .last-updated {
    background: linear-gradient(45deg, rgba(255, 107, 149, 0.2), rgba(255, 154, 86, 0.2));
    color: #ecf0f1;
    border-color: rgba(255, 107, 149, 0.4);
}

body.dark-mode main {
    background: rgba(44, 62, 80, 0.95);
    color: #ecf0f1;
}

body.dark-mode .content-section h2 {
    color: #ecf0f1;
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode .content-section h2::after {
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
}

body.dark-mode .content-section p strong {
    color: #ecf0f1;
}

/* Additional enhancements */
.casino-highlight {
    background: linear-gradient(45deg, rgba(255, 107, 149, 0.1), rgba(255, 154, 86, 0.1));
    border-left: 4px solid #ff6b95;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.casino-highlight::before {
    content: '🎰';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .casino-highlight {
    background: linear-gradient(45deg, rgba(255, 107, 149, 0.1), rgba(255, 154, 86, 0.1));
    border-left: 4px solid #ff6b95;
}

body.dark-mode .casino-highlight::before {
    background: #2c3e50;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

body.dark-mode .back-to-top {
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
}

/* Reading progress indicator */
.reading-progress {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff6b95;
    border: 3px solid rgba(255, 107, 149, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.reading-progress.visible {
    opacity: 1;
}

body.dark-mode .reading-progress {
    color: #ff6b95;
    border-color: rgba(255, 107, 149, 0.3);
}

/* Casino rating system */
.casino-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 149, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin: 1rem 0;
    font-weight: bold;
}

.casino-rating .stars {
    color: #ffda56;
    font-size: 1.2rem;
}

body.dark-mode .casino-rating {
    background: rgba(255, 107, 149, 0.1);
}, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin: 1rem 0;
    font-weight: bold;
}

.casino-rating .stars {
    color: #f39c12;
    font-size: 1.2rem;
}

body.dark-mode .casino-rating {
    background: rgba(231, 76, 60, 0.1);
}

/* Tooltip system */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted #ff6b95;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(44, 62, 80, 0.95) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Table styling */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
    color: white;
    font-weight: bold;
}

.comparison-table tr:hover {
    background: rgba(255, 107, 149, 0.1);
}

body.dark-mode .comparison-table {
    background: rgba(44, 62, 80, 0.3);
}

body.dark-mode .comparison-table th {
    background: linear-gradient(45deg, #ff6b95, #ff9a56);
}

body.dark-mode .comparison-table tr:hover {
    background: rgba(255, 107, 149, 0.1);
}