:root {
    --primary: #0a0a12;
    --secondary: #121829;
    --accent: #6e45e2;
    --highlight: #8a63f2;
    --text: #f5f5f7;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
    --primary: #f5f5f7;
    --secondary: #e1e1e6;
    --accent: #6e45e2;
    --highlight: #5a2fde;
    --text: #0a0a12;
    --card-bg: rgba(0, 0, 0, 0.03);
    --card-border: rgba(0, 0, 0, 0.05);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--primary);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--secondary) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--accent) 0%, transparent 50%);
    transition: all 0.5s ease;
}

.container {
    max-width: 800px;
    padding: 2rem;
    position: relative;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo .domain {
    font-weight: 600;
    letter-spacing: -1px;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.poggers {
    background-color: var(--highlight);
    color: white;
    box-shadow: 0 4px 20px rgba(138, 99, 242, 0.3);
    z-index: 1;
}

.poggers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.poggers:hover::before {
    width: 100%;
}

.poggers:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 99, 242, 0.4);
}

.gg {
    border: 2px solid var(--highlight);
    color: var(--highlight);
}

.gg:hover {
    background-color: rgba(138, 99, 242, 0.1);
    transform: translateY(-3px);
}

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

.feature {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature:hover::after {
    transform: scaleX(1);
}

.feature h3 {
    color: var(--highlight);
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.4rem;
}

.feature p {
    opacity: 0.8;
    line-height: 1.6;
}

.discord-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    max-width: 500px;
    margin: 3rem auto;
    transition: all 0.4s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.discord-handle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--highlight);
}

footer {
    margin-top: 4rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.feature-icon {
    transition: all 0.4s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2);
    color: var(--highlight);
}

@media (max-width: 768px) {
    
    h1 {
        font-size: 2rem;
    }
    
    .error-message {
        font-size: 1.1rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 1rem;
    }
}
