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

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

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

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

.main-header {
    background: var(--gradient-dark);
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 0.5px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.hero-banner {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::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 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23d4af37"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23d4af37"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23d4af37"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button-3d {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0;
    margin-top: 20px;
}

.button-top {
    display: block;
    padding: 15px 40px;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border-radius: 8px;
    transform: translateY(-4px);
    transition: transform 0.2s;
}

.button-bottom {
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #9a8327;
    border-radius: 8px;
    z-index: -1;
}

.cta-button-3d:hover .button-top {
    transform: translateY(-2px);
}

.cta-button-3d:active .button-top {
    transform: translateY(0);
}

.fun-fact-section {
    background: var(--gradient-primary);
    padding: 40px 20px;
    margin: 40px 0;
}

.fun-fact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--secondary-color);
}

.fact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

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

.fun-fact-container h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.fun-fact-container p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-section,
.top-casinos-section,
.recent-articles-section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

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

.casino-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.casino-rank {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.casino-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.casino-name {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.rating-stars {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars i {
    color: var(--primary-color);
}

.rating-number {
    margin-left: 10px;
    font-weight: bold;
    color: var(--secondary-color);
}

.casino-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.highlight-badge {
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-color);
}

.highlight-badge i {
    color: var(--primary-color);
}

.articles-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card,
.blog-post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.article-card:hover,
.blog-post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.article-image,
.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-content,
.post-content {
    padding: 25px;
}

.article-title,
.post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.article-excerpt,
.post-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more-btn,
.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.read-more-btn:hover,
.post-read-more:hover {
    gap: 15px;
}

.page-hero {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.blog-content-section,
.about-mission-section,
.team-section,
.values-section,
.contact-section {
    padding: 80px 20px;
}

.post-image-wrapper {
    position: relative;
}

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.mission-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.mission-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-member-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.team-member-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.team-bio {
    color: #666;
    line-height: 1.8;
}

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

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.value-card p {
    color: #666;
    line-height: 1.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-column h2,
.contact-form-column h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.contact-info-column > p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-image {
    margin-top: 30px;
}

.contact-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
}

.modal-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.modal-content p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.modal-close-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.post-article {
    background: var(--white);
}

.post-header-section {
    background: var(--light-bg);
    padding: 60px 20px;
}

.post-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.post-category-tag,
.post-date-tag,
.post-reading-time-tag {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-category-tag {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: bold;
}

.post-date-tag,
.post-reading-time-tag {
    background: var(--white);
    color: #666;
}

.post-main-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--secondary-color);
}

.post-lead {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.post-content-section {
    padding: 60px 20px;
}

.post-content-section h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.post-content-section h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--accent-color);
}

.post-content-section p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: #444;
    font-size: 1.1rem;
}

.post-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
}

.back-to-blog:hover {
    gap: 15px;
}

.main-footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 15px;
    opacity: 0.9;
}

.registration-info {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.9;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    padding: 25px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.active {
    transform: translateY(0);
}

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

.cookie-text h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-text h4 i {
    color: var(--primary-color);
}

.cookie-text p {
    color: #666;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn.accept-all {
    background: var(--gradient-primary);
    color: var(--white);
}

.cookie-btn.customize {
    background: var(--secondary-color);
    color: var(--white);
}

.cookie-btn.decline {
    background: #ddd;
    color: var(--text-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .nav-link {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .casinos-comparison-table,
    .articles-grid,
    .blog-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-main-title {
        font-size: 2rem;
    }
    
    .post-lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .post-main-title {
        font-size: 1.7rem;
    }
}