/* Base styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #2a0845 0%, #6441a5 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* Header (if used) */
header {
    background: linear-gradient(90deg, #0078d7, #00aaff);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}
header h1 { font-size: 3em; margin: 0; }
header p { font-size: 1.2em; margin: 10px 0; }
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #fff;
    color: #0078d7;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}
.cta-button:hover {
    background-color: #0078d7;
    color: #fff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px 40px 20px;
    background: transparent;
    animation: fadeInDown 1s;
}
.hero.glass-card {
    margin: 40px auto 32px auto;
    text-align: center;
    background: rgba(40, 20, 70, 0.55);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 48px 24px 36px 24px;
    max-width: 600px;
}
.logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 18px;
    box-shadow: 0 4px 24px #0004;
    animation: popIn 1.2s;
}
.hero h1 {
    font-size: 2.8em;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeIn 1.2s;
}
.hero p, .subtitle {
    font-size: 1.3em;
    margin: 0 0 24px 0;
    color: #f3e9ff;
    animation: fadeIn 1.4s;
}
.highlight {
    color: #ffe7ff;
    font-weight: 600;
}

/* Glassmorphism Card/Section */
.glass-card, .glass-section {
    background: rgba(40, 20, 70, 0.55);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 32px auto 32px auto;
    padding: 32px 24px;
    max-width: 900px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Buttons */
.invite-btn, .vote-btn, .tos-btn, .modern-btn, .back-btn {
    display: inline-block;
    background: linear-gradient(90deg, #7b2ff2 0%, #f357a8 100%);
    color: #fff;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 32px;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 0 2px 8px #0003;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin: 10px 12px; /* Add horizontal and vertical gap between all buttons */
    border: none;
    cursor: pointer;
    animation: popIn 1.2s;
}
.invite-btn:hover, .vote-btn:hover, .tos-btn:hover, .modern-btn:hover, .back-btn:hover {
    background: linear-gradient(90deg, #f357a8 0%, #7b2ff2 100%);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 16px #0004;
}

/* Stats (if used) */
.stats {
    margin-top: 18px;
    color: #f3e9ff;
    font-size: 1em;
    display: flex;
    justify-content: center;
    gap: 30px;
    animation: fadeIn 1.8s;
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 20px 20px;
}

/* Features, How, Platforms, Commands, TOS, Contact */
.features, .how, .platforms, .commands, .tos, .contact {
    margin-bottom: 40px;
    animation: fadeInUp 1.2s;
    text-align: center;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.7);}
    80% { opacity: 1; transform: scale(1.1);}
    100% { transform: scale(1);}
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 24px;
    justify-items: center;
}
.features-list > div, .commands-list li, .platforms-list li {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px 18px;
    min-width: 160px;
    max-width: 260px;
    box-shadow: 0 2px 12px #0002;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    font-size: 1.1em;
}
.features-list > div:hover, .commands-list li:hover, .platforms-list li:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 6px 24px #0003;
    background: rgba(255,255,255,0.15);
}
.features-list h3 {
    margin-top: 0;
    color: #ffe7ff;
    font-size: 1.2em;
}
.features-list p {
    color: #f3e9ff;
    margin-bottom: 0;
}
.feature-icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

/* Platforms & Commands List */
.platforms-list, .commands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
}
.platforms-list li, .commands-list li {
    color: #ffe7ff;
    font-weight: 500;
    font-size: 1em;
    margin: 0;
}

/* How Section */
.how ol {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    color: #f3e9ff;
    font-size: 1.1em;
    display: inline-block;
}

/* Contact Section */
.contact a {
    color: #ffe7ff;
    text-decoration: underline;
}

/* TOS Section */
.tos-btn {
    margin-left: 8px;
}

/* Vote Section */
.vote-center {
    text-align: center;
}

/* Command Description Popup */
.command-desc {
    background: rgba(40, 20, 70, 0.95);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    padding: 28px 22px;
    margin: 22px auto 0 auto;
    max-width: 400px;
    text-align: center;
    color: #fff;
    z-index: 1001;
    position: relative;
    animation: fadeInUp 0.4s;
}
.command-desc code {
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 2px 6px;
    color: #ffe7ff;
}

/* Footer */
footer {
    text-align: center;
    padding: 18px 0;
    background: rgba(0,0,0,0.25);
    color: #f3e9ff;
    font-size: 0.95em;
    animation: fadeIn 2s;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 700px) {
    .hero, .glass-card, .glass-section {
        padding: 18px 6px;
        margin: 18px 0;
    }
    .features-list, .platforms-list, .commands-list {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        display: flex;
    }
    .features-list > div, .platforms-list li, .commands-list li {
        min-width: 80vw;
        max-width: 95vw;
        font-size: 1em;
    }
    .modern-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .hero {
        padding: 40px 8px 24px 8px;
    }
    main {
        padding: 20px 6px 10px 6px;
    }
    .tos-btn, .invite-btn, .back-btn, .vote-btn, .modern-btn {
        width: 90vw;
        max-width: 350px;
        font-size: 1.1em;
        padding: 12px 0;
        margin: 12px auto;
        display: block;
    }
}