/* Shera777 Matka - Enhanced Stylesheet */

/* Root Variables */
:root {
    --primary-color: #ff751f;
    --secondary-color: #b99052;
    --dark-blue: #042248;
    --light-bg: #f5f9ff;
    --text-dark: #333;
    --text-light: #fff;
    --gradient-1: linear-gradient(135deg, #ff751f 0%, #ff9a5a 100%);
    --gradient-2: linear-gradient(135deg, #042248 0%, #0a3d6e 100%);
    --gradient-gold: linear-gradient(135deg, #28a745, #20c997);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    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;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
}

/* Enhanced Header Styles */
header {
    background: var(--gradient-1);
    color: var(--text-light);
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-container {
    margin-bottom: 25px;
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
}

.header-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    margin: 20px auto;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.95);
}

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    margin: 8px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn i {
    font-size: 1.1rem;
}

.btn.download {
    background: var(--gradient-gold);
    color: #fff;
    animation: pulseBtn 2.5s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

@keyframes pulseBtn {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 30px rgba(40, 167, 69, 0.6);
    }
}

.btn.download:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.7);
}

.btn.call {
    background: linear-gradient(135deg, #0084ff, #00a2ff);
    color: var(--text-light);
}

.btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #20c357);
    color: var(--text-light);
}

.btn.call:hover,
.btn.whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn.primary {
    background: var(--gradient-1);
    color: var(--text-light);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 117, 31, 0.4);
}

.btn.secondary {
    background: var(--gradient-2);
    color: var(--text-light);
}

.btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(4, 34, 72, 0.4);
}

.btn.glow {
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(185, 144, 82, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(185, 144, 82, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(185, 144, 82, 0.6);
    }
}

/* CTA Container */
.cta-container {
    max-width: 650px;
    margin: 50px auto 0;
    padding: 45px 30px;
    background: linear-gradient(135deg, #ff751f, #4d3f0c);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-container h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.cta-container h2 span {
    color: #ff9a5a;
    text-shadow: 0 0 20px rgba(255, 154, 90, 0.5);
}

.cta-container p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-md);
}

.hero-feature i {
    font-size: 2.5rem;
    color: #ffff;
    text-shadow: 0 0 15px rgba(255, 179, 71, 0.6);
}

.hero-feature span {
    font-weight: 600;
    font-size: 1rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-divider {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.divider-icon {
    background: var(--gradient-1);
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.divider-icon i {
    color: #ffb347;
    font-size: 1.5rem;
}

.section-desc {
    font-size: 1.15rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Game Rates Section */
.game-rates {
    background: linear-gradient(135deg, rgba(245, 249, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-link,
.tab-link-res {
    padding: 14px 35px;
    background: rgba(255, 117, 31, 0.1);
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.tab-link:hover,
.tab-link-res:hover {
    background: rgba(255, 117, 31, 0.2);
    transform: translateY(-2px);
}

.tab-link.active,
.tab-link-res.active {
    background: var(--gradient-1);
    color: var(--text-light);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
}

.tab-content,
.tab-content-res {
    display: none;
}

.tab-content.active,
.tab-content-res.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rates Table */
.rates-table-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
}

.rates-table {
    width: 100%;
}

.rates-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--gradient-1);
    padding: 20px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rates-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.rates-table-row:hover {
    background: rgba(255, 117, 31, 0.08);
    transform: translateX(5px);
}

.rates-table-row:last-child {
    border-bottom: none;
}

.rates-table-row.highlight {
    background: linear-gradient(135deg, rgba(255, 154, 90, 0.15), rgba(185, 144, 82, 0.15));
    border-left: 4px solid var(--secondary-color);
}

.rate-column {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.game-type {
    justify-content: flex-start;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.game-type i {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.win-amount {
    color: #27ae60;
    font-weight: 800;
    font-size: 1.3rem;
}

.min-bet {
    text-align: center;
    margin: 30px 0;
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 117, 31, 0.05), rgba(255, 255, 255, 1));
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(185, 144, 82, 0.3);
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

/* Market Results Section */
.market-results {
    background: linear-gradient(135deg, rgba(245, 249, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.result-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.result-header {
    padding: 18px 20px;
    background: var(--gradient-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.result-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-header h3 i {
    color: #ffb347;
    font-size: 0.9rem;
}

.betting-status {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    background: white;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.betting-status.running {
    color: #27ae60;
}

.betting-status.closed {
    color: #e74c3c;
}

.result-numbers {
    padding: 30px 20px;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary-color);
    letter-spacing: 3px;
    background: linear-gradient(135deg, rgba(255, 117, 31, 0.05), transparent);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0 20px 20px;
}

.chart-btn {
    padding: 10px 20px;
    background: rgba(255, 117, 31, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.chart-btn:hover {
    background: var(--gradient-1);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* How to Play Section */
.how-to-play {
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin: 50px 0;
}

.step {
    text-align: center;
    position: relative;
    padding: 50px 25px 35px;
    background: linear-gradient(135deg, rgba(255, 117, 31, 0.05), white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 3px solid white;
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.step h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
}

.step p {
    color: #666;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--gradient-1);
    color: var(--text-light);
    padding: 50px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-height: 100px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

footer p {
    font-size: 1rem;
    margin: 0;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-download.show {
    opacity: 1;
    visibility: visible;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
    }
    to {
        transform: translate(-50%, 0);
    }
}

.floating-download a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-gold);
    color: #222;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.floating-download a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.6);
}

.floating-download a i {
    font-size: 1.3rem;
}

/* Utility Classes */
.center {
    text-align: center;
    margin: 30px auto;
}

.cta-buttons {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-text h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }

    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 0 50px;
    }

    .header-text h1 {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-container {
        padding: 35px 20px;
        margin-top: 30px;
    }

    .cta-container h2 {
        font-size: 1.7rem;
    }

    .contact-options {
        flex-direction: column;
        gap: 10px;
    }

    .rates-table-header,
    .rates-table-row {
        grid-template-columns: 2fr 1fr 1fr;
        padding: 15px;
        font-size: 0.9rem;
    }

    .result-numbers {
        font-size: 1.5rem;
        padding: 25px 15px;
    }

    .result-header {
        padding: 15px;
        flex-wrap: wrap;
    }

    .result-header h3 {
        font-size: 1rem;
    }

    .betting-status {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .floating-download a {
        padding: 15px 30px;
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .cta-container h2 {
        font-size: 1.5rem;
    }

    .rates-table-header,
    .rates-table-row {
        font-size: 0.85rem;
        padding: 12px 10px;
    }

    .game-type {
        gap: 8px;
    }

    .game-type i {
        font-size: 1.1rem;
    }

    .win-amount {
        font-size: 1.1rem;
    }

    .result-numbers {
        font-size: 1.3rem;
        letter-spacing: 2px;
        padding: 20px 15px;
    }

    .chart-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .floating-download {
        width: 90%;
        left: 5%;
        transform: translateX(0);
        bottom: 20px;
    }

    .floating-download.show {
        transform: translateX(0);
    }

    .floating-download a {
        padding: 14px 25px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .feature-icon i {
        font-size: 3rem;
    }

    .step-icon i {
        font-size: 3rem;
    }
}