@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0f0f11;
    --primary-color: #ff172e;
    --text-color: #ffffff;
    --secondary-text: #8a8a8e;
    --card-bg: #1a1a1d;
    --input-bg: #252529;
    --hover-color: #ffe5e7;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--card-bg);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color);
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    display: block;
}

.auth-btn {
    background-color: var(--primary-color) !important;
    color: var(--text-color) !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background-color: var(--hover-color) !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Main Content Styles */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.main-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #e0e0e0;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-section,
.purchase-info {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.section-title {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.payment-method-group {
    margin-bottom: 1.5rem;
}

.label {
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.payment-buttons {
    display: flex;
    gap: 0.75rem;
}

.payment-btn {
    background-color: var(--input-bg);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-height: 44px;
}

.payment-btn:hover {
    background-color: #333333;
}

.payment-btn.active {
    background-color: #ff172e;
}

.coupon-section {
    margin-top: 1.5rem;
}

.coupon-label {
    color: var(--secondary-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.coupon-input-group {
    display: flex;
    gap: 0.75rem;
}

.coupon-input {
    background-color: var(--input-bg);
    border: none;
    color: var(--text-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    flex-grow: 1;
    font-size: 0.9rem;
    outline: none;
    min-height: 44px;
}

.coupon-input::placeholder {
    color: var(--secondary-text);
}

.coupon-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

.coupon-btn:hover {
    background-color: #d91429;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.info-label {
    color: var(--secondary-text);
}

.info-value {
    color: var(--text-color);
}

.info-discount {
    color: var(--primary-color);
}

.price-display {
    text-align: center;
    margin: 1.5rem 0;
}

.final-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.terms-section {
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terms-text {
    color: var(--secondary-text);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    text-align: center;
}

.buy-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-height: 50px;
}

.buy-button:hover {
    background-color: #d91429;
    transform: translateY(-1px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-left: 1rem;
    }

    .auth-btn {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    /* Main content mobile adjustments */
    .main-container {
        padding: 1rem;
    }

    .header-section {
        margin-bottom: 1.5rem;
    }

    .main-title {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .payment-section,
    .purchase-info {
        padding: 1rem;
    }

    .section-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .payment-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .payment-btn {
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .coupon-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .coupon-input,
    .coupon-btn {
        min-height: 48px;
        font-size: 1rem;
    }

    .terms-section {
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .terms-text {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .buy-button {
        padding: 1rem;
        font-size: 1rem;
        min-height: 50px;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .logo-img {
        height: 32px;
    }

    .main-container {
        padding: 0.75rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .payment-section,
    .purchase-info {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .terms-section {
        padding: 0 0.25rem;
        margin-bottom: 0.75rem;
    }

    .terms-text {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .buy-button {
        padding: 0.875rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
}

/* Ensure no horizontal scroll */
html, body {
    overflow-x: hidden;
    width: 100%;
}

.main-container,
.content-wrapper,
.payment-section,
.purchase-info {
    max-width: 100%;
    overflow-x: hidden;
}