/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand i {
    color: #ffd700;
    margin-right: 0.5rem;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffd700;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffd700;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Age Disclaimer Banner */
.age-disclaimer-banner {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 1.5rem 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.3);
    border-bottom: 3px solid #ffd700;
}

.disclaimer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.disclaimer-icon {
    font-size: 3rem;
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.disclaimer-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.disclaimer-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.help-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.help-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.help-link i {
    color: #ffd700;
}

.disclaimer-close button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-close button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.age-disclaimer-banner.hidden {
    display: none;
}

/* Mobile responsive for disclaimer */
@media (max-width: 768px) {
    .disclaimer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .disclaimer-icon {
        font-size: 2.5rem;
    }
    
    .disclaimer-text h2 {
        font-size: 1.5rem;
    }
    
    .disclaimer-text p {
        font-size: 0.9rem;
    }
    
    .help-links {
        justify-content: center;
    }
    
    .disclaimer-close {
        position: absolute;
        top: 10px;
        right: 20px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.disclaimer-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.disclaimer-badge i {
    color: #ffd700;
    margin-right: 0.5rem;
}

/* Top Casinos Section */
.top-casinos {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2d3748;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.casino-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.casino-card.featured {
    border: 2px solid #ffd700;
    position: relative;
}

.casino-card.featured::before {
    content: 'DOPORUČENO';
    position: absolute;
    top: -10px;
    left: 20px;
    background: #ffd700;
    color: #333;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.casino-logo h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.license-badge {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.rating {
    text-align: right;
}

.stars {
    color: #ffd700;
    margin-bottom: 0.3rem;
}

.rating span {
    font-weight: 700;
    color: #2d3748;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
}

.age-restriction {
    background: #e53e3e;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.age-restriction i {
    margin-right: 0.5rem;
}

.certification {
    background: #48bb78;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .casinos-grid {
        grid-template-columns: 1fr;
    }

    .card-footer {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .casino-card {
        padding: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rating {
        text-align: left;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-card {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Review Pages Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.casino-review {
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.casino-review:last-of-type {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.casino-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.license-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.date {
    color: #4a5568;
    font-size: 0.9rem;
}

.overall-rating {
    text-align: center;
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.rating-stars {
    color: #ffd700;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.rating-label {
    color: #4a5568;
    font-weight: 600;
}

.review-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.review-main {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.review-section {
    margin-bottom: 2rem;
}

.review-section:last-child {
    margin-bottom: 0;
}

.review-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.review-section p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.bonus-info {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.bonus-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.bonus-card h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

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

.bonus-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.bonus-features i {
    color: #48bb78;
    margin-right: 0.5rem;
}

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

.game-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.game-category h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.game-category i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

.rating-breakdown,
.quick-facts,
.cta-section {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.rating-breakdown h4,
.quick-facts h4 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.rating-item {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.rating-bar {
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Rating fill specific widths */
.rating-fill[style*="95%"] { width: 95% !important; }
.rating-fill[style*="90%"] { width: 90% !important; }
.rating-fill[style*="92%"] { width: 92% !important; }
.rating-fill[style*="88%"] { width: 88% !important; }
.rating-fill[style*="100%"] { width: 100% !important; }
.rating-fill[style*="98%"] { width: 98% !important; }
.rating-fill[style*="87%"] { width: 87% !important; }
.rating-fill[style*="93%"] { width: 93% !important; }
.rating-fill[style*="89%"] { width: 89% !important; }
.rating-fill[style*="86%"] { width: 86% !important; }
.rating-fill[style*="85%"] { width: 85% !important; }

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

.quick-facts li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.quick-facts li:last-child {
    border-bottom: none;
}

.cta-section {
    text-align: center;
}

/* About page styles */
.about-content {
    padding: 3rem 0;
}

.about-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.about-section h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-section p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.team-member h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

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

.value-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.value-item h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-item i {
    color: #667eea;
}

.value-item p {
    color: #4a5568;
    margin: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
    text-align: center;
}

.contact-item h4 {
    color: #2d3748;
    margin: 0 0 0.2rem 0;
    font-weight: 600;
}

.contact-item p {
    color: #4a5568;
    margin: 0;
}

/* Terms page styles */
.terms-content {
    padding: 3rem 0;
}

.terms-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.terms-section h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.terms-section h3 {
    color: #4a5568;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.terms-section p,
.terms-section li {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-notice {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border-left: 4px solid #e68900;
}

.legal-notice p {
    color: #333;
    margin: 0;
    font-weight: 600;
}

/* Mobile responsive for review pages */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .review-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .games-categories {
        grid-template-columns: 1fr;
    }

    .rating-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .casino-info h2 {
        font-size: 1.5rem;
    }

    .overall-rating .rating-score {
        font-size: 2rem;
    }
}