:root {
    --ember-orange-bright: #FF4800;
    --ember-orange-deep: #D43D00;
    --ember-glow: rgba(255, 72, 0, 0.4);
    --dark-bg: #121212;
    --glass-bg: rgba(26, 26, 29, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --discord-blurple: #5865F2;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    padding-top: 100px;
}

.background-gradient {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(240deg, var(--ember-orange-deep), #3a1c00, var(--dark-bg));
    background-size: 200% 200%;
    animation: moveGradient 15s ease-in-out infinite;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.logo-header {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--ember-orange-bright), var(--ember-orange-deep));
    border-radius: 50%;
    color: var(--text-primary);
    text-align: center;
}

.add-bot-btn {
    background: var(--discord-blurple) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    padding: 10px 20px !important;
}

.add-bot-btn:hover {
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5) !important;
    background: #4a56d1 !important;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 2rem 1rem;
}


.redirect-container {
    background: var(--glass-bg);
    padding: 2.5rem 3rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    max-width: 450px;
    width: 95%;
    opacity: 0;
    transform: scale(0.95);
    animation: fadeIn 0.6s 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, var(--ember-orange-bright), var(--ember-orange-deep));
    border-radius: 50%;
    color: var(--text-primary);
    box-shadow: 0 0 20px var(--ember-glow);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

h1 {
    margin: 0 0 0.75rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#countdown {
    color: var(--ember-orange-bright);
    font-weight: 600;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn.primary {
    background: linear-gradient(45deg, var(--ember-orange-bright), var(--ember-orange-deep));
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--ember-glow);
}

.btn.primary:hover {
    box-shadow: 0 6px 25px var(--ember-glow);
}

.btn.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}
.features {
    width: 100%;
    max-width: 1100px;
    padding: 2rem 1rem;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px var(--ember-glow);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 72, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--ember-orange-bright);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

footer {
    padding: 2rem 1rem;
    margin-top: auto;
    width: 100%;
    color: var(--text-secondary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--ember-orange-bright);
}

.hidden {
    display: none;
}

@media (max-width: 600px) {
    body {
        padding-top: 80px;
    }

    header {
        padding: 0.75rem 5%;
    }

    .logo-link span {
        display: none;
    }

    .redirect-container {
        padding: 2rem 1.5rem;
    }

    .logo {
        width: 56px;
        height: 56px;
        line-height: 56px;
        font-size: 2.2rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.95rem;
    }
    
    .button-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 16px;
    }

    .btn:hover {
        transform: none;
    }

    .features h2 {
        font-size: 2rem;
    }
}