:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --vip-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --free-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --border-color: #333;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--dark-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand {
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.feature-badges .badge {
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
}

.key-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(20px);
}

.key-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
}

.key-card:hover .card-glow {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vip-card .card-glow {
    background: var(--vip-gradient);
}

.free-card .card-glow {
    background: var(--free-gradient);
}

.card-content {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    border-radius: 22px;
}

.key-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-card .key-icon {
    background: var(--vip-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-card .key-icon {
    background: var(--free-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.key-duration {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.key-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-card .key-price {
    background: var(--vip-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-card .key-price {
    background: var(--free-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

.key-features li {
    padding: 0.75rem 0;
    color: #ddd;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.key-features i {
    margin-right: 0.75rem;
    color: #4ade80;
    width: 20px;
    font-size: 1.1rem;
}

.btn-generate {
    position: relative;
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    background: var(--primary-gradient);
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.vip-btn {
    background: var(--vip-gradient);
    box-shadow: 0 8px 32px rgba(240, 147, 251, 0.3);
}

.free-btn {
    background: var(--free-gradient);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3);
}

.btn-generate:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.btn-generate:active {
    transform: translateY(-1px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-generate:hover .btn-glow {
    transform: translateX(100%);
}

.feature-highlight {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-highlight i {
    font-size: 3rem;
    display: block;
}

.feature-highlight h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.key-display {
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    letter-spacing: 2px;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
    word-break: break-all;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.3rem;
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .key-card {
        margin-bottom: 2rem;
    }
    
    .card-content {
        padding: 2rem;
    }
    
    .key-icon {
        font-size: 3.5rem;
    }
    
    .key-display {
        font-size: 1.3rem;
        letter-spacing: 1px;
        padding: 1rem;
    }
    
    .feature-badges {
        justify-content: center !important;
    }
    
    .feature-badges .badge {
        font-size: 0.8rem;
        margin: 0.25rem;
    }
}
    transition: opacity 0.3s ease;
}

.vip-card .card-glow {
    background: var(--vip-gradient);
}

.free-card .card-glow {
    background: var(--free-gradient);
}

.card-content {
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    border-radius: 18px;
}

.key-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-card .key-icon {
    background: var(--vip-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.free-card .key-icon {
    background: var(--free-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.key-duration {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.key-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.key-features li {
    padding: 0.5rem 0;
    color: #ccc;
}

.key-features i {
    margin-right: 0.5rem;
    color: #4ade80;
    width: 16px;
}

.btn-generate {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background: var(--primary-gradient);
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vip-btn {
    background: var(--vip-gradient);
}

.free-btn {
    background: var(--free-gradient);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-generate:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-generate:hover .btn-glow {
    transform: translateX(100%);
}

.modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.key-display {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    letter-spacing: 3px;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    margin: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .key-card {
        margin-bottom: 2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .key-icon {
        font-size: 3rem;
    }
    
    .key-display {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
}