* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: url('image.png') center/cover no-repeat fixed;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.85) 0%,
        rgba(22, 33, 62, 0.9) 50%,
        rgba(26, 26, 46, 0.85) 100%
    );
    z-index: -1;
    transform: none !important;
}

.header {
    text-align: center;
    padding: 2rem 0;
    z-index: 10;
}

.logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    max-width: 1200px;
    text-align: center;
    z-index: 10;
}

.title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #000 0%, #8c5105c7 50%, #000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tab Navigation Styles */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: rgba(22, 33, 62, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.tab-btn:hover {
    border-color: rgba(212, 175, 55, 0.6);
    color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-color: #d4af37;
    color: #1a1a2e;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* Tab Content Styles */
.tab-content {
    width: 100%;
}

.tab-panel {
    display: none !important;
}

.tab-panel.active {
    display: block !important;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 2rem;
    text-align: center;
}

/* Features Section Styles */
.features-section {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.feature-item {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Resources Section Styles */
.resources-section {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.resources-content {
    color: #b0b0b0;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.newsletter-section {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.newsletter-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: #b0b0b0;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-right: none;
    border-radius: 50px 0 0 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: #a0a0a0;
}

.email-input:focus {
    border-color: #00bfff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.subscribe-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border: 2px solid #00bfff;
    border-radius: 0 50px 50px 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, #0080ff 0%, #0060ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

.subscribe-btn:hover .btn-icon {
    transform: translateX(3px);
}

.form-message {
    min-height: 24px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    text-align: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.divider span {
    padding: 0 1rem;
    color: #b0b0b0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discord-section {
    text-align: center;
}

.discord-subtitle {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    border: 2px solid #5865f2;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
    text-decoration: none;
    color: #ffffff;
}

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

.discord-icon {
    transition: transform 0.3s ease;
}

.external-icon {
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.discord-btn:hover .discord-icon {
    transform: scale(1.1);
}

.discord-btn:hover .external-icon {
    transform: translateX(3px);
    opacity: 1;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 55, 0.3));
}

.feature h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #d4af37;
    margin-bottom: 0.8rem;
}

.feature p {
    color: #b0b0b0;
    line-height: 1.5;
}

.footer {
    text-align: center;
    padding: 2rem;
    color: #808080;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(22, 33, 62, 0.8);
    backdrop-filter: blur(10px);
}

/* Loading animation for form submission */
.subscribe-btn.loading {
    pointer-events: none;
}

.subscribe-btn.loading span {
    opacity: 0;
}

.subscribe-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        max-width: 300px;
    }
    
    .content-wrapper {
        max-width: 95%;
    }
    
    .tab-navigation {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-section,
    .features-section,
    .resources-section {
        padding: 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .email-input {
        border-radius: 50px;
        border-right: 2px solid rgba(212, 175, 55, 0.3);
        margin-bottom: 1rem;
    }
    
    .subscribe-btn {
        border-radius: 50px;
        width: 100%;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 1rem 0 1rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    .discord-btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        gap: 0.6rem;
    }
}
