* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --accent-primary: #fb923c;
    --accent-secondary: #ea580c;
    --border-color: rgba(148, 163, 184, 0.1);
    --hover-bg: rgba(251, 146, 60, 0.1);
    --success: #22c55e;
    --card-bg: rgba(30, 41, 59, 0.6);
}

body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: rgba(226, 232, 240, 0.5);
    --hover-bg: rgba(251, 146, 60, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Navigation */
nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.light-theme nav {
    background: rgba(248, 250, 252, 0.95);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fb923c, #ea580c);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #fb923c;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Header */
.hero-header {
    position: relative;
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(234, 88, 12, 0.05) 100%);
    border-bottom: 1px solid rgba(251, 146, 60, 0.2);
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%231e293b" width="100" height="100"/><g opacity="0.1"><rect fill="%23fb923c" x="0" y="0" width="10" height="10"/><rect fill="%23fb923c" x="20" y="20" width="10" height="10"/><rect fill="%23fb923c" x="40" y="40" width="10" height="10"/><rect fill="%23fb923c" x="60" y="60" width="10" height="10"/><rect fill="%23fb923c" x="80" y="80" width="10" height="10"/></g></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
}

body.light-theme .hero-header::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23f8fafc" width="100" height="100"/><g opacity="0.1"><rect fill="%23fb923c" x="0" y="0" width="10" height="10"/><rect fill="%23fb923c" x="20" y="20" width="10" height="10"/><rect fill="%23fb923c" x="40" y="40" width="10" height="10"/><rect fill="%23fb923c" x="60" y="60" width="10" height="10"/><rect fill="%23fb923c" x="80" y="80" width="10" height="10"/></g></svg>');
}

.hero-header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fb923c 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.page-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Server Info Section */
.server-section {
    animation: fadeInLeft 1s ease-out;
}

.section-title {
    font-size: 2rem;
    color: #fb923c;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    border-radius: 2px;
}

.info-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

body.light-theme .info-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    border-color: rgba(251, 146, 60, 0.4);
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.1);
    transform: translateY(-2px);
}

.info-label {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.info-value-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.info-value {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: rgba(251, 146, 60, 0.15);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #fb923c;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(251, 146, 60, 0.25);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

/* Actions Section */
.actions-section {
    animation: fadeInRight 1s ease-out;
}

.action-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

body.light-theme .action-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.action-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.action-description {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.primary-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 146, 60, 0.4);
}

.secondary-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.3);
    background: linear-gradient(135deg, #0d4d00 0%, #369400 100%);
}

.discord-button {
    width: 100%;
    padding: 1.2rem;
    background: #5865f2;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.discord-button:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.alert-box {
    background: rgba(251, 191, 36, 0.1);
    border-left: 4px solid #fbbf24;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #fbbf24;
}

.alert-box span:first-child {
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: auto;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.light-theme footer {
    background: rgba(248, 250, 252, 0.95);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
}

.footer-text {
    color: #22c55e;
    font-size: 0.95rem;
}

.footer-contact {
    color: var(--text-primary);
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: all 0.3s;
}

.footer-contact::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff8819, #ea580c);
    transition: width 0.3s;
}

.footer-contact:hover {
    color: #fb923c;
}

.footer-contact:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(251, 146, 60, 0.2);
    border-color: rgba(251, 146, 60, 0.5);
}

.social-icon {
    width: 28px;
    height: 28px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-content {
        width: 100%;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-header {
        padding: 4rem 1.5rem 3rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .info-value-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact::after {
        left: 50%;
        transform: translateX(-50%);
    }
}