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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    min-height: 100dvh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

/* Background with blur effect */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('banner.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(3px);
    transform: scale(1.05);
    z-index: 0;
}

/* Dark gradient overlay for better readability */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

/* Animated gradient accent */
.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center top,
        rgba(255, 215, 0, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Background Boxes Effect - Aceternity Style */
.background-boxes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(80px, 1fr));
    transform: translateY(-10%) skewY(-12deg);
    transform-origin: center;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 20%, transparent 70%);
}

.background-box {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 215, 0, 0.08);
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
}

.background-box:hover {
    background: var(--box-color, rgba(255, 215, 0, 0.15));
    border-color: var(--box-color, rgba(255, 215, 0, 0.3));
}

.background-box.pulse {
    animation: boxPulse 2s ease-out forwards;
}

@keyframes boxPulse {
    0% {
        background: var(--box-color, rgba(255, 215, 0, 0.3));
        box-shadow: 0 0 20px var(--box-color, rgba(255, 215, 0, 0.3));
    }
    100% {
        background: transparent;
        box-shadow: none;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

/* Language Switcher - Left */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 14px;
    border-radius: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Discord Header Button - Right */
.discord-header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.discord-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.6);
    background: linear-gradient(135deg, #6B73FF, #5865F2);
}

.discord-header-btn:active {
    transform: translateY(0);
}

.discord-header-btn .discord-icon {
    width: 20px;
    height: 20px;
}

.discord-header-btn .discord-btn-text {
    display: inline;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    padding: 4px 8px;
    border-radius: 6px;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px;
    max-width: 650px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 35px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    -webkit-filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    -webkit-animation: logoFloat 4s ease-in-out infinite;
    animation: logoFloat 4s ease-in-out infinite;
    will-change: transform, filter;
}

@-webkit-keyframes logoFloat {
    0%, 100% {
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
        -webkit-filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    }
    50% {
        -webkit-transform: translateY(-15px) scale(1.03);
        transform: translateY(-15px) scale(1.03);
        -webkit-filter: drop-shadow(0 25px 40px rgba(255, 215, 0, 0.4));
        filter: drop-shadow(0 25px 40px rgba(255, 215, 0, 0.4));
    }
}

@keyframes logoFloat {
    0%, 100% {
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
        -webkit-filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    }
    50% {
        -webkit-transform: translateY(-15px) scale(1.03);
        transform: translateY(-15px) scale(1.03);
        -webkit-filter: drop-shadow(0 25px 40px rgba(255, 215, 0, 0.4));
        filter: drop-shadow(0 25px 40px rgba(255, 215, 0, 0.4));
    }
}

/* Spotlight Effect */
.spotlight {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.15) 0%, rgba(255, 140, 0, 0.08) 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: spotlightPulse 4s ease-in-out infinite;
}

@keyframes spotlightPulse {
    0%, 100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Title Wrapper */
.title-wrapper {
    margin-bottom: 15px;
    z-index: 1;
}

/* Title */
.title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

/* Static part of title (Çok / Coming) */
.title-static {
    color: #FFD700;
}

/* Rotating Text Animation */
.rotating-text-wrapper {
    display: inline;
}

.rotating-text {
    display: none;
    background: linear-gradient(90deg, #00f5d4, #00bbf9, #9b5de5, #f15bb5, #fee440);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.rotating-text.active {
    display: inline;
    animation: textFadeIn 0.4s ease-out, gradientShift 3s ease infinite;
}

.rotating-text.exit {
    display: inline;
    animation: textFadeOut 0.3s ease-in forwards;
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes textFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-8px);
        filter: blur(4px);
    }
}

@supports not (-webkit-background-clip: text) {
    .flip-word {
        background: none;
        color: #00f5d4;
        -webkit-text-fill-color: #00f5d4;
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.title-text {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 50%, #FFD700 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 165, 0, 0.3));
}

.title-exclaim {
    display: inline-block;
    color: #FF4757;
    text-shadow: 0 0 20px rgba(255, 71, 87, 0.6);
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-4px) rotate(-3deg);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 71, 87, 0.8), 0 0 40px rgba(255, 71, 87, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 71, 87, 1), 0 0 60px rgba(255, 71, 87, 0.8), 0 0 80px rgba(255, 215, 0, 0.4);
    }
}

/* Sparkles */
.sparkles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 1.2rem;
    color: #FFD700;
    opacity: 0;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 20%;
    right: 5%;
    animation-delay: 0.4s;
    color: #FF8C00;
}

.sparkle-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 0.8s;
}

.sparkle-4 {
    bottom: 0;
    right: 15%;
    animation-delay: 1.2s;
    color: #FF4757;
    font-size: 1rem;
}

.sparkle-5 {
    top: 50%;
    left: 0;
    animation-delay: 1.6s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Subtitle */
.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Content Card - Glassmorphism */
.content-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Pixel Trail Canvas */
.pixel-trail-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.content-card > *:not(.pixel-trail-canvas) {
    position: relative;
    z-index: 1;
}

/* IP Section */
.ip-section {
    margin-bottom: 35px;
}

.ip-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* Gradient Border Wrapper - Aceternity Style */
.gradient-border-wrapper {
    position: relative;
    display: inline-block;
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, #FFD700, #FF8C00, #FF6B6B, #9b5de5, #00bbf9, #00f5d4, #FFD700);
    background-size: 300% 100%;
    animation: gradientBorderFlow 4s ease infinite;
}

@keyframes gradientBorderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gradient-border-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 3px;
    background: inherit;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.ip-box {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    border: none;
    border-radius: 17px;
    padding: 16px 24px;
    gap: 18px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ip-box:hover {
    background: rgba(20, 20, 20, 0.95);
}

.ip-address {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Stateful Copy Button */
.copy-btn {
    position: relative;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    overflow: hidden;
    min-width: 110px;
}

.copy-btn .btn-text {
    display: inline-block;
    transition: all 0.3s ease;
}

.copy-btn .btn-icon-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.copy-btn .btn-icon-check svg {
    width: 20px;
    height: 20px;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.copy-btn.copied .btn-text {
    opacity: 0;
    transform: translateY(-20px);
}

.copy-btn.copied .btn-icon-check {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.copy-btn:hover:not(.copied) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.copy-btn:active:not(.copied) {
    transform: scale(0.98);
}

.copy-feedback {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #4CAF50;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    margin: 30px 0;
}

/* Email Section */
.email-section {
    margin-bottom: 10px;
}

.email-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
    font-weight: 400;
}

.email-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.email-input {
    padding: 16px 22px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1rem;
    width: 300px;
    max-width: 100%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.email-input:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.email-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: none;
    border-radius: 14px;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.email-btn:active {
    transform: translateY(0);
}

.email-feedback {
    display: block;
    margin-top: 18px;
    font-size: 0.95rem;
    color: #4CAF50;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.email-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Auth Section */
.auth-section {
    margin-top: 10px;
}

.auth-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
    font-weight: 500;
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5865F2, #4752C4);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.6);
    background: linear-gradient(135deg, #6B73FF, #5865F2);
}

.discord-btn:active {
    transform: translateY(-1px);
}

.discord-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    text-align: center;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.footer:hover p {
    color: rgba(255, 255, 255, 0.6);
}

.footer .heart {
    color: #e74c3c;
    display: inline-block;
}

/* Hyble Link with Cover Effect */
.hyble-link {
    position: relative;
    display: inline-block;
    color: #0099ff;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: transparent;
    cursor: pointer;
}

.hyble-link:hover {
    color: #00d4ff;
    background: rgba(0, 153, 255, 0.1);
}

.hyble-link:hover .hyble-text {
    animation: textShake 0.3s ease infinite;
}

.hyble-text {
    position: relative;
    z-index: 2;
}

/* Beam lines container */
.hyble-link .beams {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 4px;
    pointer-events: none;
}

/* Multiple beam lines */
.hyble-link .beam {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        transparent 40%,
        #0099ff 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
}

.hyble-link .beam-1 { top: 25%; }
.hyble-link .beam-2 { top: 50%; }
.hyble-link .beam-3 { top: 75%; }

.hyble-link:hover .beam {
    animation: beamSweep 1.5s linear infinite;
}

.hyble-link:hover .beam-1 { animation-delay: 0s; opacity: 1; }
.hyble-link:hover .beam-2 { animation-delay: 0.3s; opacity: 1; }
.hyble-link:hover .beam-3 { animation-delay: 0.6s; opacity: 1; }

/* Sparkles on hover */
.hyble-link .sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hyble-link:hover .sparkles {
    opacity: 1;
}

.hyble-link .sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #0099ff;
    border-radius: 50%;
    animation: sparkleFloat 1.5s ease-in-out infinite;
}

.hyble-link .sparkle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.hyble-link .sparkle:nth-child(2) { left: 30%; top: 70%; animation-delay: 0.2s; }
.hyble-link .sparkle:nth-child(3) { left: 50%; top: 30%; animation-delay: 0.4s; }
.hyble-link .sparkle:nth-child(4) { left: 70%; top: 60%; animation-delay: 0.6s; }
.hyble-link .sparkle:nth-child(5) { left: 90%; top: 40%; animation-delay: 0.8s; }

@keyframes beamSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1) translateY(-3px);
    }
}

@keyframes textShake {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-1px) translateY(1px); }
    50% { transform: translateX(1px) translateY(-1px); }
    75% { transform: translateX(-1px) translateY(-1px); }
}

/* Particles container */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet */
@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
    }

    .discord-header-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .container {
        padding: 25px 15px;
        margin-top: 60px;
        margin-bottom: 80px;
    }

    .title {
        font-size: 2.5rem;
    }

    .sparkle {
        font-size: 1rem;
    }

    .discord-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .logo {
        max-width: 240px;
        margin-bottom: 25px;
    }

    .content-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .ip-box {
        flex-direction: column;
        gap: 12px;
        padding: 18px 22px;
        width: 100%;
        max-width: 320px;
    }

    .ip-address {
        font-size: 1.2rem;
    }

    .copy-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .email-form {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .email-input {
        width: 100%;
        max-width: 320px;
    }

    .email-btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }

    .language-switcher {
        padding: 6px 10px;
        gap: 4px;
    }

    .lang-btn {
        font-size: 12px;
        padding: 3px 6px;
    }

    .discord-header-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .discord-header-btn .discord-icon {
        width: 18px;
        height: 18px;
    }

    .discord-header-btn .discord-btn-text {
        display: none;
    }

    .title-static {
        margin-right: 6px;
    }

    .container {
        padding: 20px 12px;
        margin-top: 55px;
        margin-bottom: 70px;
    }

    .logo {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .title {
        font-size: 1.8rem;
    }

    .sparkle {
        font-size: 0.8rem;
    }

    .discord-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
        gap: 10px;
    }

    .discord-icon {
        width: 20px;
        height: 20px;
    }

    .auth-label {
        font-size: 0.9rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
        padding: 0 10px;
    }

    .content-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .ip-label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .ip-box {
        padding: 15px 18px;
        border-radius: 14px;
    }

    .ip-address {
        font-size: 1.05rem;
    }

    .copy-btn {
        padding: 11px 18px;
        font-size: 0.85rem;
    }

    .email-label {
        font-size: 0.9rem;
    }

    .email-input {
        padding: 14px 18px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .email-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .footer {
        padding: 12px;
    }

    .footer p {
        font-size: 0.75rem;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .title {
        font-size: 1.5rem;
    }

    .title-static {
        margin-right: 5px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .logo {
        max-width: 170px;
    }

    .ip-address {
        font-size: 0.95rem;
    }

    .content-card {
        padding: 20px 15px;
    }

    .sparkles {
        display: none;
    }

    .discord-btn span {
        font-size: 0.85rem;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .container {
        margin-top: 50px;
        padding: 15px;
    }

    .logo {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .content-card {
        padding: 20px;
    }

    .ip-section {
        margin-bottom: 20px;
    }

    .divider {
        margin: 15px 0;
    }

    .footer {
        position: relative;
        margin-top: 20px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Reduced motion preference - only for non-essential animations */
@media (prefers-reduced-motion: reduce) {
    .sparkle, .sparkles {
        animation: none !important;
    }
}
