:root {
    --primary-color: #E91E63;
    --secondary-color: #8E24AA;
    --background-dark: #1A0B26;
    --background-darker: #0F0514;
    --background-card: #2A1B3D;
    --text-primary: #FFFFFF;
    --text-secondary: #B8B8B8;
    --gold-color: #FFD700;
    --green-accent: #4CAF50;
    --gradient-primary: linear-gradient(135deg, #E91E63, #8E24AA);
    --gradient-hero: linear-gradient(135deg, #1A0B26, #2A1B3D);
}

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

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

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

.header {
    background: rgba(26, 11, 38, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 200px;
    height: calc(100vh - 80px);
    background: var(--background-darker);
    padding: 20px 0;
    z-index: 999;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 14px;
}

.sidebar-item:hover {
    background: rgba(233, 30, 99, 0.1);
}

main {
    margin-left: 200px;
    margin-top: 80px;
}

.hero {
    background: var(--gradient-hero);
    background-image: url('https://images.unsplash.com/photo-1606092195730-5d7b9af1efc5');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.bonus-title {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.bonus-amount {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background: var(--green-accent);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.hero-graphics {
    position: relative;
    width: 300px;
    height: 300px;
}

.crystal {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #E91E63, #8E24AA, #FF6B9D);
    transform: rotate(45deg);
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.crystal-1 {
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.crystal-2 {
    bottom: 50px;
    right: 100px;
    width: 100px;
    height: 100px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

.game-categories {
    padding: 60px 0;
    background: var(--background-darker);
}

.categories-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.tab {
    background: var(--background-card);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

.tab.active, .tab:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--background-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

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

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.game-title {
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.spin-rally {
    padding: 60px 0;
    background: var(--background-dark);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
}

.btn-view-all {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: var(--primary-color);
    color: white;
}

.rally-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.rally-card {
    background: var(--background-card);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rally-card img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.rally-info {
    flex: 1;
}

.rally-name {
    font-weight: 500;
    margin-bottom: 5px;
}

.rally-prize {
    color: var(--gold-color);
    font-weight: bold;
    font-size: 18px;
}

.btn-aderir {
    background: var(--green-accent);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-aderir:hover {
    background: #45a049;
    transform: scale(1.05);
}

.seo-content {
    padding: 60px 0;
    background: var(--background-darker);
}

.seo-content article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.seo-content h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.seo-content h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.seo-content h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 30px 0 15px 0;
}

.seo-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--background-card);
    border-radius: 10px;
    overflow: hidden;
}

.seo-content th, .seo-content td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.seo-content th {
    background: var(--primary-color);
    font-weight: bold;
}

.seo-content td img {
    vertical-align: middle;
    margin-right: 10px;
}

.footer {
    background: var(--background-darker);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 50px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.age-restriction {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    main {
        margin-left: 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .bonus-amount {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    
    .bonus-amount {
        font-size: 28px;
    }
    
    .categories-tabs {
        justify-content: flex-start;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .rally-games {
        grid-template-columns: 1fr;
    }
    
    .seo-content h1 {
        font-size: 28px;
    }
    
    .seo-content h2 {
        font-size: 22px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}