/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at center, 
            rgba(255, 107, 53, 0.08) 0%, 
            rgba(247, 147, 30, 0.05) 30%, 
            rgba(26, 13, 5, 0.9) 70%, 
            rgba(0, 0, 0, 0.95) 100%),
        linear-gradient(135deg, 
            rgba(51, 21, 8, 0.8) 0%, 
            rgba(76, 32, 12, 0.6) 25%,
            rgba(102, 42, 16, 0.4) 50%,
            rgba(76, 32, 12, 0.6) 75%,
            rgba(51, 21, 8, 0.8) 100%);
    background-size: 100% 100%, 200% 200%;
    animation: backgroundShift 8s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%, 0% 0%; }
    50% { background-position: 0% 50%, 100% 100%; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 13, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #FF6B35;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.mtza-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.logo-text h1 {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    color: #FF6B35;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    margin: 0;
}

.logo-text .tagline {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #FF6B35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

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

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.gradient-text {
    background: linear-gradient(45deg, #FF6B35, #F7931E, #FFB347);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.stat i {
    color: #FF6B35;
    font-size: 1.2rem;
}

.stat span {
    font-weight: 600;
    color: #ffffff;
}

/* Products Section */
.products {
    padding: 80px 0;
}

/* Game Selection */
.game-selection {
    margin-bottom: 60px;
}

.selection-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background: rgba(20, 20, 20, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #FF6B35;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.game-card.selected {
    border-color: #F7931E;
    box-shadow: 0 0 30px rgba(247, 147, 30, 0.5);
    transform: translateY(-5px);
}

.game-icon {
    font-size: 4rem;
    color: #FF6B35;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.game-card h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.game-card p {
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Plan Selection */
.plan-selection {
    margin-top: 60px;
}

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

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #FF6B35;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.section-title i {
    margin-right: 15px;
}

.product-category {
    margin-bottom: 80px;
}

.category-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 2px solid #ff0080;
    text-align: center;
}

.category-title i {
    margin-right: 10px;
    color: #ff0080;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card, .plan-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.product-card:hover, .plan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.product-card.featured, .plan-card.featured {
    border-color: #FF6B35;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.product-card.premium, .plan-card.premium {
    border-color: #F7931E;
    box-shadow: 0 0 30px rgba(247, 147, 30, 0.3);
}

.product-card.selected, .plan-card.selected {
    border-color: #FFB347;
    box-shadow: 0 0 30px rgba(255, 179, 71, 0.4);
    transform: translateY(-5px);
}

.product-header {
    text-align: center;
    margin-bottom: 25px;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.stock-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #00ff80;
    font-size: 0.9rem;
}

.stock-indicator i {
    color: #00ff80;
}

.product-features ul {
    list-style: none;
    margin: 20px 0;
}

.product-features li {
    padding: 8px 0;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features i {
    color: #FF6B35;
    width: 16px;
}

.product-price {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.price {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B35;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.duration {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

.select-btn {
    width: 100%;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.select-btn i {
    margin-right: 10px;
}

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

/* Checkout Section */
.checkout {
    padding: 60px 0;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
}

.checkout-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.selected-product {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.selected-product h3 {
    color: #ff0080;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.selected-product .selected-price {
    font-size: 2rem;
    color: #00ff80;
    font-weight: 700;
    margin: 10px 0;
}

.terms-section {
    margin: 40px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #FF6B35;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background: #FF6B35;
}

.checkbox-container input[type="checkbox"]:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.terms-text {
    text-align: left;
    color: #cccccc;
}

.terms-text a {
    color: #FF6B35;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

.purchase-btn {
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    color: #ffffff;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 250px;
}

.purchase-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.purchase-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.purchase-btn i {
    margin-right: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #ff0080;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(10px);
}

.close {
    color: #ff0080;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #ffffff;
}

.modal-content h2 {
    color: #ff0080;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.terms-content h3 {
    color: #ffffff;
    margin: 20px 0 10px;
}

.terms-content p {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(26, 13, 5, 0.9);
    border-top: 1px solid #FF6B35;
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    color: #FF6B35;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FF6B35;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    color: #FF6B35;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat {
        padding: 10px 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        padding: 0 20px;
    }
    
    .checkbox-container {
        text-align: left;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .price {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #F7931E, #FF6B35);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Glow Effects */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 0, 128, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 0, 128, 0.8), 0 0 40px rgba(255, 0, 128, 0.6); }
}
