/* Main Kalyan Landing Page Styles */
:root {
    --primary-color: #e41e26;
    --primary-light: #ff5252;
    --primary-dark: #b71c1c;
    --secondary-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --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: var(--secondary-color);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 60px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    padding: 2px;
    box-shadow: var(--shadow-sm);
}

.nav-menu ul {
    display: flex;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 8px;
}

.hamburger-icon span:nth-child(3) {
    top: 16px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--secondary-color);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    opacity: 0.1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.bonus-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.bonus-badge p {
    font-size: 20px;
    font-weight: 600;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.download-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

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

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    animation: shake 0.8s ease-in-out;
}

.download-btn:hover::before {
    left: 100%;
}

.highlight {
    font-size: 22px;
    font-weight: 600;
    margin-top: 20px;
}

.hero-image {
    flex: 1;
    text-align: center;
    max-width: 400px;
    margin-left: 40px;
}

/* Rates Section */
.rates {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.rates h2, .starline-title, .jackpot-title, .gali-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.starline-title, .jackpot-title, .gali-title {
    margin-top: 60px;
}

.subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 40px;
    font-size: 18px;
}

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

.rate-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.rate-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.rate-card .rate {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.rate-card.starline {
    border-top-color: #ff9a9e;
}

.rate-card.jackpot {
    border-top-color: #ffd700;
}

.rate-card.gali {
    border-top-color: #4CAF50;
}

/* Available Games Section */
.available-games {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.available-games h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

.game-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(228, 30, 38, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 0;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.game-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.game-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--dark-gray);
    position: relative;
}

.game-numbers {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
}

.game-status {
    text-align: center;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.betting-closed {
    background-color: #ff5252;
    color: white;
}

.running {
    background-color: #4CAF50;
    color: white;
}

.game-buttons {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.chart-btn {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: #f5f5f5;
    color: var(--text-color);
    transition: var(--transition);
    flex: 1;
    text-align: center;
    margin: 0 5px;
}

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

.game-play {
    margin-top: 15px;
    text-align: center;
}

.play-btn {
    display: inline-block;
    padding: 10px 30px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    animation: pulse 1.5s infinite;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    animation-play-state: paused;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(228, 30, 38, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(228, 30, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(228, 30, 38, 0);
    }
}

/* How To Play Section */
.how-to-play {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.how-to-play h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 20px;
    margin: 10px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    font-size: 30px;
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step p {
    color: var(--dark-gray);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.accordion-item {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: rgba(228, 30, 38, 0.05);
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 500;
}

.toggle-icon {
    font-size: 24px;
    color: var(--primary-color);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 500px;
}

.accordion-item.active .toggle-icon {
    transform: rotate(45deg);
}

.accordion-content p {
    margin-bottom: 10px;
}

.accordion-content ul, .accordion-content ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.accordion-content li {
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: var(--gradient-secondary);
    text-align: center;
}

.contact h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.contact-btn i {
    margin-right: 10px;
    font-size: 20px;
}

.call {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.whatsapp {
    background-color: #25D366;
    color: var(--secondary-color);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--secondary-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.download-footer {
    margin-bottom: 30px;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(228, 30, 38, 0.7); }
    50% { box-shadow: 0 0 20px rgba(228, 30, 38, 0.9), 0 0 30px rgba(228, 30, 38, 0.5); }
    100% { box-shadow: 0 0 5px rgba(228, 30, 38, 0.7); }
}

.floating-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    font-size: 24px;
    transition: var(--transition);
    animation: bounce 2s infinite, glow 2s infinite alternate;
}

.floating-download-btn:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* Hero Logo */
.hero-logo {
    max-width: 200px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

/* Step Logo */
.step-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-image {
        margin-left: 0;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 30px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--secondary-color);
        box-shadow: var(--shadow-lg);
        padding: 80px 20px 30px;
        transition: 0.4s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        margin-top: 0;
    }
    
    .nav-menu ul li {
        margin: 15px 0;
    }
    
    .hero {
        padding: 150px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .rates-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .game-card {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .bonus-badge p {
        font-size: 18px;
    }
    
    .download-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .rates h2, .starline-title, .jackpot-title, .how-to-play h2, .faq h2, .available-games h2 {
        font-size: 28px;
    }
    
    .contact h2 {
        font-size: 24px;
    }
    
    .game-card h3 {
        font-size: 16px;
    }
    
    .game-time {
        font-size: 13px;
    }
    
    .game-numbers {
        font-size: 18px;
    }
    
    .game-status {
        font-size: 13px;
        padding: 5px 8px;
    }
    
    .chart-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Floating Download Button Styles */
.floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
    transition: var(--transition);
    animation: glow-green 1.5s ease-in-out infinite alternate;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.floating-download:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(-50%) scale(1.03);
    background: linear-gradient(135deg, #1e7e34 0%, #28a745 100%);
}

.floating-download i {
    font-size: 18px;
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(228, 30, 38, 0.6);
    }
    to {
        box-shadow: 0 0 15px rgba(228, 30, 38, 0.8);
    }
}

@keyframes glow-green {
    from {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.6);
    }
    to {
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
    }
}

/* Responsive styles for floating download button */
@media (max-width: 768px) {
    .floating-download {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .floating-download i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .floating-download {
        padding: 8px 16px;
        font-size: 14px;
        bottom: 15px;
    }
}
