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

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

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #2c3e50;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
}

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

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

.responsible-gaming-header {
    background-color: rgba(255,255,255,0.1);
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 0.5rem;
}

.responsible-gaming-header a {
    color: #ffeb3b;
    text-decoration: underline;
}

.responsible-gaming-header a:hover {
    color: #fff;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.section {
    display: none;
    padding: 2rem 0;
}

.section.active {
    display: block;
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-bar {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.search-bar button {
    padding: 0.75rem 1.5rem;
    background-color: #ff6b35;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #e55a2b;
}

/* Filters */
.filters {
    background-color: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.filter-group {
    display: inline-block;
    margin-right: 2rem;
}

.filter-group label {
    display: inline-block;
    margin-right: 0.5rem;
    font-weight: bold;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Casino Grid */
.casino-grid {
    padding: 2rem 0;
}

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

/* Casino Card */
.casino-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #e91e63, #ff6b35, #00c851);
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 300% 0; }
    50% { background-position: -100% 0; }
    100% { background-position: 300% 0; }
}

.casino-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.casino-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b35;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.casino-content {
    padding: 2rem 1.5rem 1.5rem;
}

.casino-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 80px;
    height: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

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

.casino-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

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

.stars {
    color: #ffd700;
}

.casino-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.feature-badge {
    background-color: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.casino-bonus {
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.bonus-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

.casino-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.casino-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #666;
    border: 2px solid #e0e0e0;
    padding: 0.75rem;
    width: 50px;
}

.btn-secondary:hover {
    background-color: #e9ecef;
}

.responsible-gaming-notice {
    background-color: #f8f9fa;
    border-left: 4px solid #00c851;
    padding: 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #666;
}

.responsible-gaming-notice a {
    color: #00c851;
    text-decoration: none;
}

.responsible-gaming-notice a:hover {
    text-decoration: underline;
}

/* Content Sections */
.reviews-content,
.tips-content,
.contact-content,
.about-content {
    padding: 2rem 0;
}

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

.review-card,
.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.rating {
    margin-top: 1rem;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

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

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

.footer-section a:hover {
    color: white;
}

.responsible-gaming-footer {
    font-size: 0.9rem;
    line-height: 1.6;
}

.responsible-gaming-footer a {
    color: #3498db;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        border-radius: 20px 20px 0 0;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(-100%);
    }
    
    .mobile-menu-btn {
        display: flex;
        cursor: pointer;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filters {
        padding: 1rem 0;
    }
    
    .filter-group {
        display: block;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .filter-group select {
        width: 100%;
        padding: 0.75rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .casino-card {
        margin: 0 0.5rem;
    }
    
    .casino-content {
        padding: 1.5rem 1rem;
    }
    
    .casino-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .casino-rating {
        align-self: flex-end;
    }
    
    .casino-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .casino-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .casino-card {
        margin: 0;
        border-radius: 15px;
    }
    
    .casino-content {
        padding: 1.25rem 1rem;
    }
    
    .casino-logo {
        width: 70px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        align-self: center;
    }
    
    .responsible-gaming-header {
        margin-top: 1rem;
        padding: 0.75rem;
        font-size: 12px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .casino-card:hover {
        transform: none;
    }
    
    .casino-card:active {
        transform: scale(0.98);
    }
    
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }
    
    .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .casino-content {
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

.casino-card {
    animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.p-2 { padding: 1rem; }

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}