* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0E0D0C 0%, #080807 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.loading-logo h1 {
    font-family: 'Tomorrow', monospace;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

.loading-logo .logo-gold {
    color: #FFD700;
}

.loading-logo .logo-ace {
    color: #FC362B;
}

.loading-spinner {
    margin: 20px 0 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: #E1DDD6;
    opacity: 0.8;
    animation: pulse 2s ease infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

/* Hide main content initially */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.loaded {
    opacity: 1;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-image: 
        linear-gradient(to bottom, rgba(14, 13, 12, 0.6) 0%, rgba(14, 13, 12, 0.9) 50%, rgb(8, 8, 7) 100%),
        url('../images/body-bg.webp');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    color: #EEECE7;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    font-family: 'Tomorrow', monospace;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: #FC362B;
    color: #EEECE7;
}

.btn-primary:hover {
    background-color: #e02f24;
}

.btn-secondary {
    background-color: #FFB200;
    color: #252321;
}

.btn-secondary:hover {
    background-color: #e6a100;
}

.btn-outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.btn-outline:hover {
    background-color: #FFD700;
    color: #252321;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    background-color: #252321;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Tomorrow', monospace;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.logo-gold {
    color: #EEECE7;
}

.logo-ace {
    color: #FFD700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #EEECE7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: #FFB200;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #252321;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    min-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.dropdown-card {
    background-color: #1a1816;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    padding: 5px;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.dropdown-card:hover {
    transform: scale(1.05);
    border-color: #FFB200;
}

.partner-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

/* Promo Text */
.promo-text {
    color: #E1DDD6;
    font-size: 14px;
    font-weight: 500;
}

/* Discord Button */
.btn-discord {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-discord:hover {
    background-color: #FFB200;
    color: #252321;
    border-color: #FFB200;
    box-shadow: 0 0 20px rgba(255, 178, 0, 0.3);
}

.discord-icon {
    width: 20px;
    height: auto;
    object-fit: contain;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #FFD700;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background-color: #FFB200;
}

/* Hero Section */
.hero {
    background: transparent;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-title-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.hero-logo {
    width: 120px;
    height: auto;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-description {
    font-size: 18px;
    color: #EEECE7;
    margin-bottom: 32px;
    line-height: 1.6;
}

.code-highlight {
    color: #FFD700;
    background-color: #FC362B;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

/* Bonus Section */
.bonus {
    background: transparent;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 16px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.bonus-card {
    background-color: #252321;
    border: 1px solid #E1DDD6;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: #FFB200;
}

.partner-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.bonus-partner-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.affiliate-code {
    margin-bottom: 20px;
}

.code-label {
    display: block;
    font-size: 12px;
    color: #E1DDD6;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    border-radius: 6px;
    padding: 8px 12px;
}

.code-text {
    font-family: 'Tomorrow', monospace;
    font-weight: 600;
    color: #FFD700;
    font-size: 14px;
}

.copy-btn {
    background-color: #FFB200;
    color: #252321;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.copy-btn:hover {
    background-color: #FFD700;
}

.bonus-list {
    margin-bottom: 20px;
}

.bonus-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bonus-list li {
    font-size: 14px;
    color: #EEECE7;
    padding: 4px 0;
    position: relative;
    padding-left: 0;
}

.bonus-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.bonus-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: #252321;
    border-top: 1px solid #E1DDD6;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-logo p {
    color: #EEECE7;
    line-height: 1.6;
}

.footer-section h4 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #EEECE7;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #FFB200;
}

.footer-social-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #E1DDD6;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #EEECE7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #FFB200;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-left {
        gap: 20px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #252321;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
        padding: 20px;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 8px;
        min-width: auto;
        background-color: transparent;
        border: none;
        padding: 0;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .dropdown-card {
        padding: 8px;
        height: 60px;
        background-color: rgba(26, 24, 22, 0.8);
        border: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    .partner-logo {
        max-height: 30px;
        width: auto;
    }
    
    .promo-text {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .header-right {
        gap: 12px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .bonus {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .bonus-card {
        padding: 24px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}
