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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #2d0052 25%, #4a0080 50%, #6B46C1 75%, #9333EA 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(20, 0, 40, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 3px solid #FFD700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.logo i {
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

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

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

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(253, 185, 49, 0.2));
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #2d0052;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

/* Hero Disclaimer Section */
.hero-disclaimer {
    padding: 60px 0;
    text-align: center;
}

.disclaimer-box {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 100, 0, 0.1));
    border: 3px solid #ff6b6b;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 10px 60px rgba(255, 107, 107, 0.7); }
}

.disclaimer-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.disclaimer-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

/* Game Section */
.game-section {
    padding: 60px 0;
}

.game-container {
    text-align: center;
}

.game-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    margin-bottom: 40px;
}

.slot-machine {
    background: linear-gradient(135deg, rgba(20, 0, 40, 0.9), rgba(45, 0, 82, 0.9));
    border: 4px solid #FFD700;
    border-radius: 30px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.reel {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border: 5px solid #FFD700;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.reel:hover {
    transform: scale(1.05);
}

.symbol {
    font-size: 5rem;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.reel.spinning .symbol {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-300px) rotate(360deg); }
}

.spin-button {
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #2d0052;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 20px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.8);
}

.spin-button:active:not(:disabled) {
    transform: translateY(0);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.coins-display {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    margin-bottom: 20px;
}

.coins-display i {
    margin-right: 10px;
}

.result-message {
    font-size: 1.5rem;
    font-weight: 700;
    min-height: 40px;
    margin-top: 20px;
}

.result-message.win {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
    animation: celebrate 0.5s ease-in-out;
}

.result-message.lose {
    color: #ff6b6b;
}

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2) rotate(-5deg); }
    75% { transform: scale(1.2) rotate(5deg); }
}

.game-disclaimer {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #cccccc;
    font-style: italic;
}

/* Leaderboard Section */
.leaderboard-section {
    padding: 60px 0;
    background: rgba(20, 0, 40, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    margin-bottom: 40px;
}

.leaderboard {
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-item {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.4), rgba(147, 51, 234, 0.4));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    transform: translateX(10px);
    border-color: #FFD700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.leaderboard-item.rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(253, 185, 49, 0.3));
    border: 3px solid #FFD700;
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.5);
}

.leaderboard-item.rank-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(169, 169, 169, 0.3));
    border: 3px solid #C0C0C0;
}

.leaderboard-item.rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.3), rgba(184, 115, 51, 0.3));
    border: 3px solid #CD7F32;
}

.rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFD700;
    min-width: 60px;
}

.player-name {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.player-coins {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Legal Section */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.legal-item:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.legal-item i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 15px;
    display: block;
}

.legal-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
}

/* Quick Disclaimer Items */
.quick-disclaimer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.quick-item:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: #FFD700;
    transform: translateY(-2px);
}

.quick-item i {
    font-size: 1.5rem;
    color: #FFD700;
}

.quick-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: rgba(20, 0, 40, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.3), rgba(147, 51, 234, 0.3));
    border: 3px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #FFD700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.feature-icon i {
    font-size: 3rem;
    color: #2d0052;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
}

/* Responsibility Section */
.responsibility-section {
    padding: 60px 0;
    background: rgba(107, 70, 193, 0.2);
}

.responsibility-content {
    max-width: 900px;
    margin: 0 auto;
}

.responsibility-box {
    background: linear-gradient(135deg, rgba(20, 0, 40, 0.8), rgba(45, 0, 82, 0.8));
    border: 3px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.responsibility-box h3 {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.responsibility-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.responsibility-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.responsibility-list i {
    color: #4ade80;
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.responsibility-note {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: #FFD700;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #ffffff;
    margin-bottom: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.about-text.highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(253, 185, 49, 0.15));
    border: 3px solid #FFD700;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

/* Footer */
.footer {
    background: rgba(20, 0, 40, 0.9);
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid #FFD700;
    margin-top: 60px;
}

.footer p {
    margin: 10px 0;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .nav a {
        text-align: center;
    }
    
    .disclaimer-title {
        font-size: 1.8rem;
    }
    
    .disclaimer-text {
        font-size: 1.1rem;
    }
    
    .quick-disclaimer {
        grid-template-columns: 1fr;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
    
    .slot-machine {
        padding: 30px 20px;
    }
    
    .slot-reels {
        gap: 15px;
    }
    
    .reel {
        width: 100px;
        height: 100px;
    }
    
    .symbol {
        font-size: 3.5rem;
    }
    
    .spin-button {
        font-size: 1.2rem;
        padding: 15px 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon i {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .leaderboard-item {
        padding: 15px 20px;
    }
    
    .rank {
        font-size: 1.2rem;
        min-width: 50px;
    }
    
    .player-name {
        font-size: 1.1rem;
    }
    
    .player-coins {
        font-size: 1rem;
    }
    
    .legal-content {
        grid-template-columns: 1fr;
    }
    
    .responsibility-box {
        padding: 25px;
    }
    
    .about-text {
        font-size: 1.1rem;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .disclaimer-title {
        font-size: 1.4rem;
    }
    
    .disclaimer-text {
        font-size: 1rem;
    }
    
    .quick-item {
        padding: 12px 15px;
    }
    
    .quick-item span {
        font-size: 0.9rem;
    }
    
    .slot-reels {
        gap: 10px;
    }
    
    .reel {
        width: 80px;
        height: 80px;
    }
    
    .symbol {
        font-size: 2.5rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .responsibility-box h3 {
        font-size: 1.5rem;
    }
    
    .responsibility-list li {
        font-size: 1rem;
    }
}
