/* Royal Kuber Matka - Main Stylesheet */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #9b59b6;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --text-color: #333;
    --text-light: #f8f9fa;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    margin: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn i {
    margin-right: 8px;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

.btn.secondary:hover {
    background-color: #34495e;
    transform: translateY(-3px);
}

.btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.btn.whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.center {
    text-align: center;
    margin: 0 auto;
    display: block;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c0152 0%, #4a148c 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="20" height="20" fill="none"/><rect width="1" height="1" fill="rgba(255,255,255,0.05)" x="0" y="0"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

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

.logo-container {
    margin-bottom: 20px;
}

.hero-logo {
    max-height: 140px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

.header-text h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, #f5d76e, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    margin-top: 30px;
    margin-bottom: 40px;
}

.btn.glow {
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(142, 68, 173, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(142, 68, 173, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(142, 68, 173, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(142, 68, 173, 0);
    }
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    border-radius: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Premium Rates Section */
.premium-rates {
    padding: 80px 0;
    background-color: white;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #666;
}

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

.rate-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.rate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.rate-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.rate-item:last-child {
    border-bottom: none;
}

.game-name {
    font-weight: 500;
}

.rate-value {
    font-weight: 700;
    color: var(--primary-color);
}

/* Game Rates Section */
.game-rates {
    padding: 80px 0;
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%), 
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><rect width="1" height="1" fill="rgba(0,0,0,0.03)" x="0" y="0"/></svg>');
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    position: relative;
    height: 2px;
    background-color: #e0e0e0;
    max-width: 300px;
    margin: 0 auto 20px;
}

.divider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f8f9fa;
    padding: 0 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.rates-table-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rates-table {
    width: 100%;
    background-color: white;
}

.rates-table-header {
    display: flex;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rates-table-row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    transition: var(--transition);
}

.rates-table-row:hover {
    background-color: rgba(142, 68, 173, 0.05);
}

.rates-table-row:last-child {
    border-bottom: none;
}

.rates-table-row.highlight {
    background-color: rgba(243, 156, 18, 0.1);
}

.rates-table-row.highlight:hover {
    background-color: rgba(243, 156, 18, 0.2);
}

.rate-column {
    flex: 1;
    display: flex;
    align-items: center;
}

.game-type {
    font-weight: 600;
    color: var(--dark-color);
    flex: 2;
}

.game-type i {
    margin-right: 10px;
    color: var(--primary-color);
}

.win-amount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.min-bet {
    text-align: center;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

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

/* Mobile Features Section */
.mobile-features {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.mobile-features .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mobile-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.mobile-feature i {
    font-size: 2rem;
    margin-right: 20px;
    color: var(--accent-color);
}

.mobile-feature h3 {
    margin-bottom: 5px;
}

.mobile-feature p {
    color: rgba(255, 255, 255, 0.8);
}

.phone-mockup {
    width: 280px;
    height: 550px;
    background-color: #111;
    border-radius: 40px;
    position: relative;
    margin: 0 auto;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 8px solid #333;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: url('../images/royallogo.jpg') center/cover;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* How to Play Section */
.how-to-play {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.step {
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step p {
    color: #666;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 80px;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mobile-features .container {
        grid-template-columns: 1fr;
    }
    
    .mobile-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .rates-grid,
    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .rate-card,
    .feature-card,
    .step {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    header {
        padding: 60px 0;
    }
    
    .premium-rates,
    .game-rates,
    .features,
    .mobile-features,
    .how-to-play {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .logo img {
        max-height: 80px;
    }
}
