:root {
    --primary-color: #70c0ff;
    --secondary-color: #ff96c8;
    --accent-color: #ff65a8;
    --dark-color: #48536d;
    --light-color: #ebeef7;
    --gradient: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    --gradient-reverse: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    --gradient-diagonal: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --heading-font: 'Merriweather', serif;
}

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

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #e9ecef;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--heading-font);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 10px;
}

.underline {
    height: 5px;
    width: 80px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 5px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1;
}

section:nth-child(even) {
    background-color: #f1f7ff;
}

section:nth-child(odd) {
    background-color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 133, 192, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(255, 133, 192, 0.4);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    color: var(--dark-color);
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
    font-family: var(--heading-font);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-switcher i.fas {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 150px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: block;
    padding: 8px 10px;
    margin: 5px 0;
    border-radius: 5px;
    transition: var(--transition);
}

.language-dropdown a:hover {
    background: var(--gradient);
    color: white;
}

.language-dropdown a::after {
    display: none;
}

.language-dropdown a.active {
    background: var(--gradient);
    color: white;
}

.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 10;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 5px;
    transition: var(--transition);
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffeef7 0%, #e2f1ff 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px), 
                     radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.3;
    animation: particleMove 60s linear infinite;
}

@keyframes particleMove {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 1000px 500px, 1025px 525px;
    }
}

.hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 80vh;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.decoration-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 15s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 10%;
    right: 15%;
    opacity: 0.3;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    bottom: 20%;
    left: 15%;
    opacity: 0.3;
    animation-delay: -3s;
}

.shape-3 {
    width: 120px;
    height: 120px;
    background: var(--accent-color);
    top: 30%;
    left: 20%;
    opacity: 0.2;
    animation-delay: -6s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: #a5ffdb;
    bottom: 10%;
    right: 20%;
    opacity: 0.2;
    animation-delay: -9s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: #ffe0a5;
    top: 60%;
    left: 40%;
    opacity: 0.2;
    animation-delay: -12s;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.server-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.server-image-wrapper {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.server-image {
    position: relative;
    z-index: 2;
    width: 80%;
    margin: 0 auto;
}

.server-image img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 15s ease-in-out infinite;
    box-shadow: var(--box-shadow);
}

.server-image-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.decoration {
    position: absolute;
    border-radius: 50%;
}

.decoration.dec1 {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    opacity: 0.3;
}

.decoration.dec2 {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    bottom: 15%;
    right: 15%;
    opacity: 0.3;
}

.decoration.dec3 {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    bottom: 30%;
    left: 20%;
    opacity: 0.3;
}

.server-text {
    flex: 1;
}

.server-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.server-text p {
    margin-bottom: 20px;
}

.server-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--accent-color);
}

.discord {
    background-image: linear-gradient(135deg, #f8f9fc 0%, #e2f1ff 100%);
    position: relative;
    z-index: 1;
}

.discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a5d8ff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.fluffy-title {
    position: relative;
    display: inline-block;
}

.gif-letter {
    position: relative;
    z-index: 2;
}

.gif-container {
    position: absolute;
    top: -28px;
    left: -10px;
    z-index: 1;
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.letter-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.discord-banner {
    background: var(--gradient-diagonal);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    max-width: 800px;
}

.banner-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
    text-align: center;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.discord-logo {
    font-size: 5rem;
    color: #7289DA;
    margin-bottom: 20px;
}

.discord-banner h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.discord-banner p {
    margin-bottom: 30px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #7289DA, #5865F2);
}

.server-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    width: 150px;
}

.stat-value {
    font-size: 2.5rem;
    background: var(--gradient);
    font-weight: 900;
    -webkit-background-clip: text;
    color: transparent;
}

.smaller {
    font-size: 2.3rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-color);
}

footer {
    background-color: #f1f5fd;
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    color: transparent;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: var(--gradient);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.timestamp {
    font-size: 0.8rem;
    color: var(--dark-color);
    opacity: 0.7;
    margin-top: 5px;
}

@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .server-info-content,
    .discord-content {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .server-image-wrapper {
        margin-bottom: 30px;
    }
    
    .server-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .menu-btn {
        display: block;
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 9;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .gif-container {
        top: -5px;
        left: 0;
        width: 40px;
        height: 40px;
    }

    .language-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .language-switcher.active .language-dropdown {
        display: block;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-divider {
        height: 40px;
    }
    
    .server-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-item {
        width: 80%;
    }
}

.custom-image-container {
    width: 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.custom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: hue-rotate(calc(var(--hue-rotation, 0) * 1deg)) 
           saturate(var(--saturation, 1.2)) 
           brightness(var(--brightness, 1.1));
    transition: filter 0.3s ease;
}

@media screen and (max-width: 768px) {
    .custom-image-container {
        display: none;
    }
}