* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* হেডার স্টাইল */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

.logo {
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover, nav a.active {
    background-color: rgba(255,255,255,0.2);
}

.user-menu {
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu a {
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.user-menu a:hover {
    background-color: rgba(255,255,255,0.3);
}

/* হিরো সেকশন */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* সিগন্যাল অ্যানিমেশন */
.signal-animation {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signal-dot {
    width: 20px;
    height: 20px;
    background-color: #4CAF50;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.signal-wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #4CAF50;
    border-radius: 50%;
    animation: wave 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes wave {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* বাটন স্টাইল */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #1247a3;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: #1247a3;
    color: #333;
}

.btn-full {
    width: 100%;
}

/* ফিচার সেকশন */
.features {
    margin-bottom: 60px;
    text-align: center;
    color: white;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* অথেন্টিকেশন ফর্ম */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.form-group input:focus {
    border-color: #4CAF50;
    outline: none;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
}

.auth-link a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

/* ড্যাশবোর্ড স্টাইল */
.welcome-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.status.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status.inactive {
    background-color: #ffebee;
    color: #c62828;
}

.games-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.games-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.game-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #4CAF50;
}

.game-logo {
    font-size: 40px;
    margin-bottom: 10px;
    color: #666;
}

.game-card h4 {
    color: #333;
    font-weight: 600;
}

/* সিগন্যাল পেজ */
.signal-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.signal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signal-content {
    padding: 30px;
}

.signal-active, .signal-inactive {
    text-align: center;
}

.signal-display {
    max-width: 500px;
    margin: 0 auto;
}

.signal-box {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.signal-value {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
}

.signal-update {
    font-size: 14px;
    opacity: 0.8;
}

.inactive-message {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 0;
}

.inactive-message h3 {
    margin-bottom: 15px;
    color: #333;
}

.inactive-message p {
    margin-bottom: 25px;
    color: #666;
}

/* মডাল স্টাইল */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFade 0.3s;
}

@keyframes modalFade {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.plan-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border-color: #4CAF50;
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.plan-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.plan-features li:last-child {
    border-bottom: none;
}

/* পেমেন্ট পেজ */
.payment-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.payment-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 600px;
}

.plan-summary {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.plan-summary h3 {
    margin-bottom: 15px;
    color: #333;
}

.plan-summary ul {
    list-style: none;
}

.plan-summary li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.plan-summary li:last-child {
    border-bottom: none;
}

.payment-methods {
    margin-bottom: 30px;
}

.payment-options {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-details {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* রেসপনসিভ ডিজাইন */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .welcome-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .plan-options {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .payment-options {
        flex-direction: column;
        gap: 10px;
    }
}