/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* In your CSS (style.css) */
.coupon-image {
    height: 200px; /* Desktop */
}

@media (max-width: 768px) {
    .coupon-image {
        height: 150px; /* Mobile */
    }
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #4a6bff;
    color: white;
}

.btn-primary:hover {
    background-color: #3a5bef;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-big {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.text-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Header Styles */
/*header {*/
/*    background-color: white;*/
/*    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
/*    padding: 15px 0;*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 100;*/
/*}*/

/*header .container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.logo h1 {*/
/*    color: #4a6bff;*/
/*    font-size: 1.8rem;*/
/*    font-weight: 700;*/
/*}*/

/*nav ul {*/
/*    display: flex;*/
/*    list-style: none;*/
/*}*/

/*nav ul li {*/
/*    margin-left: 20px;*/
/*}*/

/*nav ul li a {*/
/*    font-weight: 500;*/
/*    transition: color 0.3s ease;*/
/*}*/

/*nav ul li a:hover {*/
/*    color: #4a6bff;*/
/*}*/


/* Base Styles */
:root {
    --primary-color: #52e157;
    --primary-dark: #3a56d4;
    --secondary-color: #728315;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4bb543;
    --warning-color: #f0ad4e;
    --danger-color: #d9534f;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7ff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a:hover {
    opacity: 0.9;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    font-weight: 500;
    color: var(--dark-color);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    position: relative;
}

.main-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.1);
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover:after {
    width: calc(100% - 24px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--dark-color);
}

/* Main Content */
main.container {
    padding: 40px 20px;
    min-height: calc(100vh - 150px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.card-body {
    padding: 20px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(75, 181, 67, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background-color: rgba(217, 83, 79, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--box-shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo h1 {
        font-size: 24px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.rounded { border-radius: var(--border-radius); }





/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Styles */
section {
    padding: 50px 0;
}

section h1, section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.plan-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-image {
    height: 200px;
    overflow: hidden;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plan-card:hover .plan-image img {
    transform: scale(1.1);
}

.plan-details {
    padding: 20px;
}

.plan-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4a6bff;
    margin-bottom: 15px;
}

.description {
    margin-bottom: 20px;
    color: #666;
}

/* Plan Detail Page */
.plan-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 900px;
}

.plan-info {
    padding: 30px;
}

/* Winners Grid */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.winner-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.winner-image {
    height: 200px;
    overflow: hidden;
}

.winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-details {
    padding: 20px;
}

.winner-name {
    font-weight: 600;
    margin: 10px 0;
}

.win-date, .prize-value {
    color: #666;
    margin: 5px 0;
}

/* Auth Forms */
.auth-form {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 50px 0;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #4a6bff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.form-footer a {
    color: #4a6bff;
}

/* Payment Section */
.payment-section {
    padding: 50px 0;
}

.payment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.plan-summary, .payment-methods {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.summary-details {
    margin-top: 20px;
}

.summary-details .price {
    font-size: 1.5rem;
    margin: 15px 0;
}

.method {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.method h3 {
    margin-bottom: 15px;
}

/* Payment Result */
.payment-result {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 50px 0;
}

.result-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.result-success i {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-error i {
    color: #dc3545;
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-pending i {
    color: #ffc107;
    font-size: 4rem;
    margin-bottom: 20px;
}

.coupon-details {
    text-align: left;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.coupon-details p {
    margin: 10px 0;
}

/* My Account */
.my-account {
    padding: 50px 0;
}

.account-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.account-sidebar {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.user-info {
    margin-bottom: 30px;
}

.user-info h3 {
    margin-bottom: 10px;
}

.user-info p {
    color: #666;
    margin: 5px 0;
}

.account-menu ul {
    list-style: none;
}

.account-menu li {
    margin-bottom: 10px;
}

.account-menu a {
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.account-menu a:hover {
    background-color: #f0f0f0;
    color: #4a6bff;
}

.account-menu li.active a {
    background-color: #4a6bff;
    color: white;
}

.account-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.coupons-list {
    margin-top: 30px;
}

.coupon-card {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.coupon-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.coupon-card.winner {
    border-left: 5px solid #4a6bff;
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.coupon-header h3 {
    font-size: 1.2rem;
}

.winner-badge {
    background-color: #4a6bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.coupon-details p {
    margin: 5px 0;
    color: #666;
}

.status-pending {
    color: #ffc107;
}

.status-completed {
    color: #28a745;
}

.status-failed {
    color: #dc3545;
}

.winner-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #4a6bff;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section.about p {
    margin-bottom: 20px;
}

.contact span {
    display: block;
    margin-bottom: 10px;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a:hover {
    color: #4a6bff;
}

.contact-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .plan-detail {
        grid-template-columns: 1fr;
    }
    
    .account-container {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}