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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ff6b6b" stop-opacity="0.3"/><stop offset="100%" stop-color="%23ff6b6b" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="120" fill="url(%23a)"/><circle cx="700" cy="800" r="80" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 4.5rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.title-sub {
    display: block;
    font-size: 1.8rem;
    font-weight: 300;
    margin-top: 10px;
    opacity: 0.9;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

.highlight {
    color: #feca57;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #feca57;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.detailed-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Optimize grid for 6 items */
@media (min-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

.platforms-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px;
    border-radius: 20px;
    color: white;
    margin-top: 40px;
}

.platforms-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

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

.platform-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.platform-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.platform-logo {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.platform-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #feca57;
}

.platform-item p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: rgba(254, 202, 87, 0.2);
    color: #feca57;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(254, 202, 87, 0.3);
}

.platform-play-btn {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.platform-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff5252, #ffd54f);
}

.platform-play-btn:active {
    transform: translateY(0);
}

/* Detailed Section */
.detailed-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.detailed-content {
    max-width: 1000px;
    margin: 0 auto;
}

.game-rules, .bonus-features, .payment-info, .video-demo, .wheel-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-rules h3, .bonus-features h3, .payment-info h3, .video-demo h3, .wheel-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}

.audio-version {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    border-radius: 15px;
    margin-bottom: 30px;
    color: white;
}

.audio-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.audio-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.audio-info p {
    margin-bottom: 15px;
    opacity: 0.9;
    font-size: 0.95rem;
}

.audio-btn {
    padding: 12px 25px;
    background: white;
    color: #ff6b6b;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.audio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.audio-btn .btn-icon {
    font-size: 1.2rem;
}

.audio-btn.playing {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
}

.audio-btn.playing:hover {
    background: linear-gradient(45deg, #ff5252, #ffd54f);
}

#audioPlayer {
    display: none;
}

.rules-list {
    display: grid;
    gap: 20px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #ff6b6b;
}

.rule-number {
    background: #ff6b6b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.rule-content h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.rule-content p {
    color: #666;
    line-height: 1.6;
}

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

/* Ensure 4 items display properly on larger screens */
@media (min-width: 1000px) {
    .bonus-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bonus-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.bonus-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.bonus-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.bonus-item h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.bonus-item p {
    color: #666;
    font-size: 0.9rem;
}

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

.payment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    font-weight: 500;
    color: #2c3e50;
}

.payment-icon {
    font-size: 1.5rem;
}

/* Wheel Info Styles */
.wheel-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Optimize for 4 items on large screens, 2 on tablets, 1 on mobile */
@media (min-width: 1200px) {
    .wheel-sectors {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .wheel-sectors {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sector-item {
    text-align: center;
    padding: 25px 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.sector-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.sector-number {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sector-item h4 {
    margin-bottom: 8px;
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.sector-item p {
    color: #666;
    font-size: 0.85rem;
    margin: 4px 0;
}

.sector-item .payout {
    color: #ff6b6b;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Video Demo Styles */
.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.video-info p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-item span:last-child {
    font-weight: 500;
    color: #2c3e50;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-primary.large {
    padding: 25px 50px;
    font-size: 1.3rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 300px;
}

.disclaimer {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: #feca57;
}

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

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

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

.footer-section ul li a:hover {
    color: #feca57;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .title-sub {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .detailed-intro {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 30px 20px;
    }
    
    .platforms-section {
        padding: 30px 20px;
    }
    
    .platforms-content {
        grid-template-columns: 1fr;
    }
    
    .game-rules, .bonus-features, .payment-info, .video-demo, .wheel-info {
        padding: 30px 20px;
    }
    
    .audio-version {
        flex-direction: column;
        text-align: center;
    }
    
    .audio-btn {
        width: 100%;
        justify-content: center;
    }
    
    .wheel-sectors {
        grid-template-columns: 1fr;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-features {
        grid-template-columns: 1fr;
    }
    
    .rule-item {
        flex-direction: column;
        text-align: center;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-primary.large {
        padding: 20px 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .info-card {
        padding: 25px 15px;
    }
    
    .platforms-section {
        padding: 25px 15px;
    }
    
    .platform-item {
        padding: 20px;
    }
    
    .game-rules, .bonus-features, .payment-info, .video-demo, .wheel-info {
        padding: 25px 15px;
    }
    
    .sector-item {
        padding: 20px 15px;
    }
    
    .sector-number {
        font-size: 2.2rem;
    }
    
    .sector-item h4 {
        font-size: 1rem;
    }
    
    .sector-item p {
        font-size: 0.8rem;
    }
    
    .sector-item .payout {
        font-size: 0.85rem;
    }
    
    .rule-item {
        padding: 15px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Performance Optimizations */
.hero-section {
    will-change: transform;
}

.cta-primary, .cta-secondary, .info-card, .bonus-item, .contact-item {
    will-change: transform;
}

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

.hero-content, .info-card, .psychology-item, .bonus-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus, a:focus {
    outline: 2px solid #feca57;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-section, .final-cta, .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
