/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a2e52 0%, #0c4281 30%, #0d6abf 70%, #1085e6 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background wave design */
.background-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.background-waves::before,
.background-waves::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 40%;
}

.background-waves::before {
    background: radial-gradient(circle at 10% 90%, rgba(13, 106, 191, 0.4) 0%, transparent 60%);
    bottom: -100%;
    left: -50%;
    animation: wave 15s linear infinite;
}

.background-waves::after {
    background: radial-gradient(circle at 90% 10%, rgba(16, 133, 230, 0.3) 0%, transparent 60%);
    top: -100%;
    right: -50%;
    animation: wave 15s linear infinite reverse;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo svg {
    margin-bottom: 5px;
}

.logo span {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo small {
    font-size: 0.7rem;
    opacity: 0.8;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon, .notification-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    text-decoration: none;
}

.cart-icon:hover, .notification-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.cart-count, .notification-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #23c9ff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.account-button {
    background-color: white;
    color: #0a2e52;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.account-button:hover {
    background-color: #e6e6e6;
    transform: translateY(-2px);
}

/* Main content styles */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
    padding: 30px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.speedometer-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
    flex: 1;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.badge {
    display: inline-block;
    margin-bottom: 15px;
}

.badge span {
    color: #00c8ff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-left: 20px;
}

.badge span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #00c8ff;
    border-radius: 50%;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.features-list li i {
    color: #00c8ff;
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background-color: #23c9ff;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 201, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(35, 201, 255, 0.7);
}

/* Packages Section */
.packages-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}

.section-header p {
    font-size: 1rem;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header span {
    color: #FFC107;
    font-weight: 600;
}

.packages-container {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: #f0f8ff; /* Light blue background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    width: 23%; /* Just under 25% to ensure all 4 fit without wrapping */
    flex: 0 0 auto;
    border: 1px solid #e0e9f3;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.package-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #000; /* Black background for images */
    display: flex;
    justify-content: center;
    align-items: center;
}

.package-image img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.out-of-stock-label {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    padding: 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
}

.package-type {
    font-size: 0.8rem;
    color: #6c757d;
    padding: 15px 20px 5px;
    text-transform: lowercase;
}

.package-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    padding: 5px 20px 10px;
    min-height: 60px;
}

.package-price {
    font-size: 1.1rem;
    color: #333;
    padding: 0 20px 15px;
    font-weight: 500;
}

.package-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 20px;
}

.select-options-btn {
    background-color: #3FB4E5;
    color: white;
    padding: 12px 15px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.select-options-btn:hover {
    background-color: #36a0cc;
    transform: translateY(-2px);
}

.add-to-cart-btn {
    background-color: #23c9ff;
    color: white;
    padding: 12px 15px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.add-to-cart-btn:hover {
    background-color: #1eb9ed;
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Discord Section and Footer */
.discord-section {
    background: linear-gradient(135deg, #0a2e52 0%, #0c4281 30%, #0d6abf 70%, #1085e6 100%);
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
}

.discord-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: #ffc107;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 0;
    opacity: 0.6;
}

.discord-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.discord-logo {
    margin-bottom: 30px;
}

.discord-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.discord-section h2 span {
    color: #ffc107;
}

.discord-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 500px;
}

.discord-button {
    display: inline-block;
    background-color: white;
    color: #0a2e52;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

.discord-button:hover {
    background-color: #f2f2f2;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.social-icon.facebook:hover {
    background-color: #3b5998;
    color: white;
}

.social-icon.discord:hover {
    background-color: #7289da;
    color: white;
}

.social-icon.youtube:hover {
    background-color: #ff0000;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

/* Responsive design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    .features-list {
        display: inline-block;
        text-align: left;
    }
    
    .packages-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .package-card {
        width: calc(50% - 15px); /* 2 items per row on tablets */
        margin-bottom: 20px;
    }
    
    .discord-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }

    .logo {
        align-items: center;
    }

    nav {
        width: 100%;
        justify-content: center;
    }
    
    .speedometer-container object,
    .speedometer-container img {
        width: 280px;
        height: 280px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .package-card {
        width: 100%; /* Full width on mobile */
        max-width: 320px;
    }
    
    .discord-section h2 {
        font-size: 1.8rem;
    }
    
    .discord-section p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 0 20px;
        text-align: center;
    }
}

/* Cart popup styles */
.cart-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow: hidden;
    flex-direction: column;
}

.cart-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background-color: #f8f8f8;
}

.cart-popup-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.cart-popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: color 0.2s;
}

.cart-popup-close:hover {
    color: #ff4d4d;
}

.cart-popup-content {
    padding: 20px;
    max-height: calc(80vh - 130px);
    overflow-y: auto;
    color: #666;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.cart-popup-footer {
    padding: 16px;
    border-top: 1px solid #eee;
    background-color: #f8f8f8;
}

.cart-popup-continue {
    width: 100%;
    padding: 14px;
    background-color: #32B4E5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-popup-continue:hover {
    background-color: #2aa0cc;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
} 