/* ===== Hugo SMP - Minecraft Style ===== */

:root {
    --bg-dark: #1a1020;
    --bg-darker: #140c18;
    --bg-card: rgba(30, 20, 40, 0.8);
    --bg-card-solid: #251832;
    --bg-highlight: linear-gradient(135deg, #4a2860 0%, #2d1a3d 100%);

    --text-primary: #e8e4ed;
    --text-secondary: #9d8ba8;
    --text-muted: #6b5a75;

    --accent-pink: #ff6b9d;
    --accent-magenta: #d946ef;
    --accent-purple: #a855f7;
    --accent-red: #ef4444;

    --border-color: rgba(255, 107, 157, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);

    --shadow-glow: 0 0 30px rgba(255, 107, 157, 0.2);

    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-darker);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== Background ===== */
.background-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(169, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(217, 70, 239, 0.1) 0%, transparent 40%),
        var(--bg-darker);
    z-index: -1;
}

/* ===== Container ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    padding: 30px 0;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-btn:hover {
    background: rgba(255, 107, 157, 0.15);
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Logo */
.logo {
    text-align: center;
}

.logo-img {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 157, 0.3));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Status */
.header-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.status-sub {
    font-weight: 700;
    font-size: 0.9rem;
    color: #22c55e;
}

/* ===== Main Section ===== */
.main {
    padding: 20px 0 60px;
}

.welcome-section {
    position: relative;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== Content Grid ===== */
.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr 200px;
    gap: 25px;
    align-items: start;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-card:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: var(--border-color);
}

.sidebar-card.highlight-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(169, 85, 247, 0.1) 100%);
    border-color: var(--accent-pink);
    padding: 20px;
}

.sidebar-card.highlight-card:hover {
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.3rem;
}

.card-icon img {
    width: 24px;
    height: 24px;
}

.card-icon.emerald {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.card-icon.star {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
}

.card-icon.heart {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.card-arrow {
    color: var(--accent-pink);
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.content-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.accent {
    color: var(--accent-pink);
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.content-section {
    margin-bottom: 35px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-pink);
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.content-section strong {
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-pink);
    font-weight: 500;
}

/* Server Info */
.ip-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    flex-wrap: wrap;
}

.ip-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.ip-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-pink);
    font-family: monospace;
    flex: 1;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.copy-btn {
    padding: 10px 20px;
    background: var(--accent-pink);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.copy-btn:hover {
    background: var(--accent-magenta);
    transform: scale(1.05);
}

/* Download Box */
.download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mod-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 100%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.mod-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mod-name {
    font-weight: 600;
    font-size: 1rem;
}

.mod-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    background: rgba(255, 107, 157, 0.15);
    border-radius: 4px;
    color: var(--text-secondary);
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.5);
}

.dl-icon {
    font-size: 1.1rem;
}

/* Steps */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--bg-darker);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--border-color);
    background: rgba(255, 107, 157, 0.05);
}

.step-num {
    width: 30px;
    height: 30px;
    background: var(--accent-pink);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-text strong {
    color: var(--text-primary);
}

/* Featured Box */
.featured-box {
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(217, 70, 239, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    position: sticky;
    top: 20px;
}

.featured-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--accent-magenta);
    margin-bottom: 15px;
    padding: 4px 10px;
    background: rgba(217, 70, 239, 0.2);
    border-radius: 4px;
}

.featured-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--accent-magenta) 0%, var(--accent-purple) 100%);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(217, 70, 239, 0.4);
}

.featured-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.featured-title {
    font-weight: 700;
    font-size: 1rem;
}

.featured-sub {
    font-size: 0.85rem;
    color: var(--accent-magenta);
}

/* ===== Footer ===== */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 250px 1fr;
    }

    .featured-box {
        display: none;
    }
}

@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 200px;
    }

    .header-content {
        gap: 30px;
    }

    .logo-img {
        max-height: 80px;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-btn, .header-status {
        width: 100%;
        justify-content: center;
    }

    .main-content {
        padding: 25px;
    }

    .sidebar-card {
        min-width: 100%;
    }

    .ip-box {
        flex-direction: column;
        text-align: center;
    }

    .ip-value {
        font-size: 1.1rem;
    }

    .download-box {
        flex-direction: column;
        text-align: center;
    }

    .download-info {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
