:root {
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-overlay: rgba(10, 10, 10, 0.95);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-primary: #4ade80;
    --accent-glow: rgba(74, 222, 128, 0.4);
    --border-color: rgba(255, 255, 255, 0.05);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --transition-fast: 0.3s ease-in-out;
    --transition-medium: 0.5s ease-in-out;
}

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



body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;

}

@media (max-width: 1024px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.highlight {
    color: var(--accent-primary);
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-primary);
    transition: width 0.2s ease-in-out, height 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, top 0.1s ease-in-out, left 0.1s ease-in-out;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease-in-out;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s ease-in-out;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 0.1) 0%, rgba(10, 10, 10, 1) 70%);
    z-index: -1;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.ip-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ip-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0 30px;
    /* Horizontal padding only, vertical handled by height/flex */
    height: 60px;
    /* Fixed height for consistent sliding */
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    /* Smooth width animation */
    transition: all var(--transition-medium);
    white-space: nowrap;
    overflow: hidden;
}

.ip-content-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.ip-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
    border-color: var(--accent-primary);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.copy-btn i {
    display: inline-block;
    /* Required for transform */
}

/* Icon Animations */
@keyframes iconOutDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes iconInDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.icon-out {
    animation: iconOutDown 0.3s forwards ease-in-out;
}

.icon-in {
    animation: iconInDown 0.3s forwards ease-in-out;
}

.ip-box:hover .copy-btn {
    color: var(--accent-primary);
}

/* Content Animations */
.slide-out {
    transform: translateY(50px);
    opacity: 0;
}

.slide-in-start {
    transform: translateY(-50px);
    opacity: 0;
}

/* slide-in class removes the transform, returning to 0 */
.ip-status {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    font-size: 1.5rem;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.server-image {
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Global Transition for smooth interactions */
a,
button,
input,
textarea,
.btn,
.card,
.vote-card,
.feature-card,
.store-card,
.nav-link,
.header,
.logo,
.mobile-toggle span,
.ip-box,
.status-dot {
    transition: all var(--transition-medium);
}

/* Vote Section */
.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.vote-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.vote-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    background: linear-gradient(90deg, var(--bg-card) 0%, rgba(74, 222, 128, 0.05) 100%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    /* Added shadow for depth */
}

.vote-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    left: 20px;
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    /* Center vertically */
    transition: all var(--transition-fast);
}

.vote-card:hover .vote-num {
    color: rgba(74, 222, 128, 0.1);
    transform: translateY(-50%) scale(1.2);
    /* Maintain center */
}

.vote-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    z-index: 2;
    margin-left: 50px;
    /* Adjusted */
    margin-right: 15px;
    /* Prevent merging with icon */
    flex-grow: 1;
    /* Take up space */
    white-space: nowrap;
    /* Keep text on one line if possible */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Handle overflow gracefully */
}

.vote-card i {
    color: var(--text-muted);
    z-index: 2;
    font-size: 1.2rem;
    /* Ensure size */
    flex-shrink: 0;
    /* Don't shrink icon */
    transition: all var(--transition-fast);
}

.vote-card:hover i {
    color: var(--accent-primary);
    transform: translateX(5px);
}

.discord-container {
    background: linear-gradient(45deg, #5865F2, #4752C4);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-content {
    position: relative;
    z-index: 2;
}

.discord-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.discord-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-medium);
    cursor: pointer;
    border: none;
}

.btn-discord {
    background: white;
    color: #5865F2;
}

.btn-discord:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.alt-bg {
    background-color: #0f0f0f;
}

.footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-primary);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}