/* Reset și variabile CSS */
:root {
    --primary-blue: #002B7F;
    --primary-gold: #FCD116;
    --primary-red: #CE1126;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), #0044cc);
    --gradient-gold: linear-gradient(135deg, var(--primary-gold), #ffd700);
    --gradient-red: linear-gradient(135deg, var(--primary-red), #ff4444);
    --shadow-primary: 0 8px 32px rgba(0, 43, 127, 0.3);
    --shadow-gold: 0 8px 32px rgba(252, 209, 22, 0.3);
    --shadow-red: 0 8px 32px rgba(206, 17, 38, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 43, 127, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    font-size: 1.1rem;
    padding: 16px 32px;
    box-shadow: var(--shadow-gold);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 48px rgba(252, 209, 22, 0.4);
}

.btn-casino {
    background: var(--gradient-red);
    color: white;
    box-shadow: var(--shadow-red);
}

.btn-casino:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(206, 17, 38, 0.4);
}

.btn-review {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-visit {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    font-size: 0.9rem;
    padding: 8px 16px;
}

.btn-review-small {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    padding: 6px 12px;
}

.btn-newsletter {
    background: var(--gradient-primary);
    color: white;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    border-left: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header h2 {
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.gdpr-checkbox {
    margin: 1.5rem 0;
}

.gdpr-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gdpr-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
}

.responsible-gaming {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.gaming-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.gaming-links img {
    border-radius: 8px;
    transition: var(--transition);
}

.gaming-links img:hover {
    transform: scale(1.05);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    z-index: 999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition);
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 43, 127, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recommendations,
.comparison,
.popular-games,
.reviews,
.all-casinos,
.newsletter {
    padding: 5rem 0;
}

/* Casino Cards */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.casino-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-gold);
}

.casino-card:hover::before {
    transform: scaleX(1);
}

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

.casino-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.star.filled {
    color: var(--primary-gold);
}

.rating-number {
    font-weight: 600;
    color: var(--primary-gold);
}

.casino-bonus {
    margin-bottom: 1.5rem;
}

.casino-bonus h3 {
    color: var(--primary-gold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.casino-bonus p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.casino-social {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon.facebook {
    background: #1877f2;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icon.twitter {
    background: #1da1f2;
    color: white;
}

.social-icon.youtube {
    background: #ff0000;
    color: white;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Comparison Table */
.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

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

.comparison-table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
}

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

.comparison-table img {
    vertical-align: middle;
    margin-right: 0.5rem;
}

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

.game-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-gold);
}

.game-card p {
    padding: 0 1rem 0.5rem;
    color: var(--text-secondary);
}

.game-provider {
    display: block;
    padding: 0 1rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.review-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-header img {
    border-radius: 8px;
}

.review-info h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.review-rating {
    color: var(--primary-gold);
    font-weight: 600;
}

.review-content {
    margin-bottom: 1.5rem;
}

.pros, .cons {
    margin-bottom: 1rem;
}

.pros h4 {
    color: #4caf50;
    margin-bottom: 0.5rem;
}

.cons h4 {
    color: #f44336;
    margin-bottom: 0.5rem;
}

.pros ul, .cons ul {
    list-style: none;
    padding-left: 0;
}

.pros li {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.cons li {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
}

/* All Casinos */
.filters {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-form select {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
}

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

.casino-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
}

.casino-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.casino-logo img {
    border-radius: 8px;
}

.casino-details {
    flex: 1;
}

.casino-details h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

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

.stat {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.casino-actions {
    display: flex;
    gap: 0.5rem;
}

/* Casino social media links */
.casino-social {
    margin-top: 0.5rem;
}

.social-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.instagram:hover {
    color: #e4405f;
}

.social-link.twitter:hover {
    color: #1da1f2;
}

.social-link.youtube:hover {
    color: #ff0000;
}

/* Banners */
.banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 5rem 0;
}

.banner-section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(252, 209, 22, 0.1), transparent);
    transform: translateX(-100%);
    transition: var(--transition);
}

.banner-section:hover::before {
    transform: translateX(100%);
}

.banner-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.banner-content h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.banner-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.banner-icon {
    color: var(--primary-gold);
    filter: drop-shadow(0 0 10px rgba(252, 209, 22, 0.5));
}

/* Newsletter */
.newsletter {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    margin-bottom: 1rem;
}

.form-group input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    background: white;
    color: var(--dark-bg);
    font-size: 1rem;
}

.form-group input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 209, 22, 0.3);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    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 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-section a {
    color: var(--primary-gold);
    text-decoration: none;
}

.responsible-gaming-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--accent-primary);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        background: #312c2c;
    }
    
    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .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);
    }
    
    .hero {
        padding-top: 60px;
        min-height: 80vh;
    }
    
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .casino-stats {
        justify-content: center;
    }
    
    .casino-actions {
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .banners {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-group input[type="email"] {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .btn-newsletter {
        border-radius: var(--border-radius);
        border-left: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .casino-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .banner-section {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

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

.casino-card,
.review-card,
.game-card,
.banner-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
input:focus,
select:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #ffffff;
        --text-secondary: #ffffff;
        --text-muted: #cccccc;
    }
}

/* Print styles */
@media print {
    .header,
    .modal,
    .cookie-banner,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
