:root {
    --primary-color: #d4a574;
    --secondary-color: #c9a961;
    --accent-color: #8b7355;
    --dark-bg: #1a1410;
    --darker-bg: #0f0a06;
    --text-primary: #f5f1e8;
    --text-secondary: #d4c4b0;
    --border-color: #2a2218;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}


.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-container.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-right-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

.loader::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border: 3px solid transparent;
    border-bottom-color: var(--accent-color);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin-reverse 4s linear infinite;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 3px;
    animation: pulse 1.5s ease-in-out infinite;
    z-index: 10;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}


@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.header {
    position: fixed;
    top: 50px;
    width: 100%;
    background: rgba(15, 10, 6, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}


.header,
.nav {
    overflow: hidden;
}

.nav-links {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.nav-links::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.content {
    padding-top: 130px;
}


.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-pic-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.5);
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(212, 165, 116, 0.4) 0%, rgba(212, 165, 116, 0.2) 40%, transparent 70%);
    filter: blur(20px);
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(212, 165, 116, 0.5), 0 0 60px rgba(201, 169, 97, 0.3);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 0 50px rgba(212, 165, 116, 0.8), 0 0 100px rgba(201, 169, 97, 0.5);
        opacity: 1;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(135deg, #f4d4a8 0%, #fce4a3 50%, #f4d4a8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 3px;
    animation: neonGlow 2s ease-in-out infinite;
    text-shadow: 
        0 0 10px rgba(244, 212, 168, 0.5),
        0 0 20px rgba(252, 228, 163, 0.4),
        0 0 30px rgba(244, 212, 168, 0.3);
    filter: drop-shadow(0 0 8px rgba(244, 212, 168, 0.6)) drop-shadow(0 0 15px rgba(252, 228, 163, 0.4));
}

@keyframes neonGlow {
    0%, 100% {
        filter: 
            drop-shadow(0 0 8px rgba(244, 212, 168, 0.6)) 
            drop-shadow(0 0 15px rgba(252, 228, 163, 0.4))
            brightness(1);
    }
    50% {
        filter: 
            drop-shadow(0 0 12px rgba(244, 212, 168, 0.9)) 
            drop-shadow(0 0 25px rgba(252, 228, 163, 0.7))
            brightness(1.15);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.4s both;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(201, 169, 97, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 169, 97, 0.3);
}


.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation: float-shape-1 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    top: 50%;
    right: 10%;
    animation: float-shape-2 8s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: 10%;
    left: 20%;
    animation: float-shape-3 7s ease-in-out infinite;
}

@keyframes float-shape-1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(0, 60px);
    }
    75% {
        transform: translate(-30px, 30px);
    }
}

@keyframes float-shape-2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-20px, 40px);
    }
    50% {
        transform: translate(20px, 0);
    }
    75% {
        transform: translate(0, -30px);
    }
}

@keyframes float-shape-3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-40px, 20px);
    }
    50% {
        transform: translate(0, -40px);
    }
    75% {
        transform: translate(40px, 0);
    }
}


.about {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    position: relative;
}

.about h2,
.discord-section h2,
.footer {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 10;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.stat-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.stat-card.animate-in {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.discord-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 4rem 2rem;
}

.discord-container {
    perspective: 1000px;
}

.discord-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 217, 255, 0.1) 50%, rgba(181, 55, 242, 0.1) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #ff006e 0%, #00d9ff 50%, #b537f2 100%) 1;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: discordFadeIn 0.8s ease-out;
}

/* Hide scrollbars inside embedded Discord iframe */
.discord-card iframe {
    border: none;
    overflow: hidden;
}
.discord-card iframe::-webkit-scrollbar {
    display: none;
}

@keyframes discordFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.discord-card:hover::before {
    left: 100%;
}

.discord-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.3), 0 0 30px rgba(0, 217, 255, 0.2);
}

.discord-icon {
    margin-bottom: 1rem;
    display: inline-block;
    animation: bobbing 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.discord-gif {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.6));
}

@keyframes bobbing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.discord-card h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff006e 0%, #00d9ff 50%, #b537f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.discord-tagline {
    font-size: 1.1rem;
    color: #00d9ff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.discord-description {
    font-size: 1rem;
    color: #f5f1e8;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 1.8rem;
}

.stat-text {
    font-size: 0.9rem;
    color: #f5f1e8;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #ff006e 0%, #b537f2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.discord-btn:hover .arrow {
    transform: translateX(5px);
}


.footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    font-size: 0.9rem;
}

.footer-name {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}


@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .profile-pic-container {
        width: 150px;
        height: 150px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-link {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .profile-pic-container {
        width: 120px;
        height: 120px;
    }

    .about h2,
    .interests h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}
