/* CSS Variables - Rust Theme */
:root {
    --color-bg-primary: #1a1a1a;
    --color-bg-secondary: #2d2d2d;
    --color-bg-tertiary: #3a3a3a;
    --color-rust: #b87333;
    --color-rust-dark: #8b4513;
    --color-rust-light: #d4a574;
    --color-accent: #c9a961;
    --color-text-primary: #ffffff;
    --color-text-secondary: #cccccc;
    --color-text-muted: #999999;
    --color-border: #4a4a4a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Texture Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(184, 115, 51, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--color-bg-secondary);
    border-bottom: 2px solid var(--color-rust);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--color-rust-light);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 2rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-rust);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-rust-light);
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top left, rgba(184, 115, 51, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(139, 69, 19, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 25%, #2d2d2d 50%, #1a1a1a 75%, #0f0f0f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(184, 115, 51, 0.02) 10px,
            rgba(184, 115, 51, 0.02) 11px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(139, 69, 19, 0.02) 10px,
            rgba(139, 69, 19, 0.02) 11px
        );
    pointer-events: none;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(184, 115, 51, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(139, 69, 19, 0.15) 0%, transparent 40%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 8px;
    color: var(--color-rust-light);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(184, 115, 51, 0.3);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-rust);
    color: var(--color-text-primary);
    border: 2px solid var(--color-rust);
}

.btn-primary:hover {
    background-color: var(--color-rust-dark);
    border-color: var(--color-rust-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-rust-light);
    border: 2px solid var(--color-rust);
}

.btn-secondary:hover {
    background-color: var(--color-rust);
    color: var(--color-text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    text-align: center;
    color: var(--color-rust-light);
    margin-bottom: 3rem;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--color-rust);
}

/* Servers Section */
.servers {
    background-color: var(--color-bg-secondary);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.server-card {
    background-color: var(--color-bg-tertiary);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.server-card:hover {
    border-color: var(--color-rust);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.server-name {
    font-size: 1.5rem;
    color: var(--color-rust-light);
    font-weight: 700;
}

.server-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.server-status.online {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.server-type {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.type-badge {
    background-color: var(--color-rust);
    color: var(--color-text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.connection-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.connection-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.connection-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.75rem;
}

.connection-code {
    flex: 1;
    color: var(--color-rust-light);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-rust);
    color: var(--color-text-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.85rem;
}

.copy-btn:hover {
    background-color: var(--color-rust-dark);
    transform: scale(1.05);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.copy-feedback {
    color: var(--color-rust-light);
    font-size: 0.85rem;
    min-height: 20px;
    opacity: 0;
    transition: var(--transition);
}

.copy-feedback.show {
    opacity: 1;
}

/* Features Section */
.features {
    background-color: var(--color-bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    border-color: var(--color-rust);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--color-rust-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: var(--color-bg-secondary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.owner-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--color-bg-tertiary);
    border-left: 4px solid var(--color-rust);
    border-radius: 4px;
}

.owner-name {
    color: var(--color-rust-light);
    font-weight: 700;
}

/* Quick Links Section */
.quick-links {
    background-color: var(--color-bg-primary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.link-card {
    background-color: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: block;
}

.link-card:hover {
    border-color: var(--color-rust);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.link-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.link-card h3 {
    color: var(--color-rust-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.link-card p {
    color: var(--color-text-secondary);
}

/* Footer */
.footer {
    background-color: var(--color-bg-secondary);
    border-top: 2px solid var(--color-rust);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-rust-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-rust-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--color-bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        border-top: 2px solid var(--color-rust);
    }

    .nav.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .servers-grid,
    .features-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .connection-box {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 15px;
    }
}

