:root {
    --bg-color: #313338;
    /* Discord Dark */
    --bg-secondary: #2b2d31;
    /* Discord Darker */
    --bg-tertiary: #1e1f22;
    /* Discord Darkest */
    --blurple: #5865F2;
    /* Discord Blurple */
    --blurple-hover: #4752c4;
    --text-primary: #ffffff;
    --text-muted: #b5bac1;
    --white: #ffffff;
    --black: #000000;
    --border-size: 2px;
    --shadow-offset: 4px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.highlight {
    color: var(--blurple);
}

/* Headers & Navigation */
header {
    padding: 1rem 0;
    background: var(--bg-tertiary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    transition: transform 0.2s;
}

.nav-links a:hover {
    transform: translateY(-2px);
    text-decoration: underline;
}

/* Buttons - "secondary" style as requested */
/* Buttons */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    height: 48px;
    background-color: var(--blurple);
    border: none;
    color: var(--white);
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s, transform 0.1s;
    user-select: none;
}

.btn-secondary:hover {
    background-color: var(--blurple-hover);
}

.btn-secondary:active {
    transform: translateY(1px);
}

.btn-large {
    height: 56px;
    padding: 0 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background-color: #4e5058;
    /* Discord Secondary Gray */
    color: var(--white);
}

.btn-outline:hover {
    background-color: #6d6f78;
}

.btn-outline i {
    color: #4e5058;
    /* Icon will be visible on white if inverted, but for dark... */
    color: inherit;
}

.invert {
    background-color: var(--white);
    color: var(--black);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 2rem;
    min-height: calc(100vh - 80px);
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    perspective: 1000px;
}

.card {
    width: 200px;
    height: 200px;
    border: var(--border-size) solid var(--black);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-shadow: 10px 10px 0px 0px var(--black);
}

.card-purple {
    background-color: var(--purple);
    transform: rotate(-3deg);
}

.card-yellow {
    background-color: var(--yellow);
    transform: rotate(2deg);
}

.card-cyan {
    background-color: var(--cyan);
    transform: rotate(-1deg);
}

.card-img {
    width: 200px;
    height: 290px;
    padding: 0;
    overflow: visible;
    background-color: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.card-img:hover {
    transform: scale(1.05) translateY(-5px) !important;
}

.card-img img,
.card-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-img:nth-child(1) {
    transform: rotate(-3deg);
}

.card-img:nth-child(2) {
    transform: rotate(2deg);
}

.card-img:nth-child(3) {
    transform: rotate(-1.5deg);
}

.card-img:nth-child(4) {
    transform: rotate(3deg);
}


/* Features Section */
.features {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:hover {
    transform: translateY(-12px);
    background: var(--bg-tertiary);
    border-color: var(--blurple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--blurple);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.icon-box i {
    width: 40px;
    height: 40px;
    stroke-width: 2.5px;
}

.feature-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Community Banner */
.community {
    padding: 10rem 2rem;
}

.community-banner {
    background-color: var(--blurple);
    border-radius: 20px;
    padding: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text h2 {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    border-top: var(--border-size) solid var(--black);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 900;
    font-size: 1.5rem;
}

.server-logo {
    height: 60px;
    width: auto;
    border-radius: 6px;
    display: block;
}


/* Responsividad */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 4rem;
        padding-bottom: 4rem;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-secondary {
        width: 100%;
    }

    .hero-visual {
        margin-top: 3rem;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .card-img {
        width: 160px;
        height: 232px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-tertiary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--blurple);
    }

    .nav-links.active {
        display: flex;
    }

    .community-banner {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        grid-template-columns: 1fr;
    }

    .card-img {
        width: 200px;
        height: 290px;
    }
}