﻿/* ShadowAbssy Theme */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Inter:wght@300;400;600&display=swap');

:root {
    --void-dark: #0a001a;
    --void-purple: #3d0075;
    --void-light: #9d00ff;
    --obsidian: #121212;
    --text-main: #e0e0e0;
    --text-accent: #dcaeff;
    --minecraft-btn: #7c7c7c;
    --minecraft-btn-shadow: #3e3e3e;
    --emerald: #50c878;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--void-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.retro-font {
    font-family: 'VT323', monospace;
    text-transform: uppercase;
}

/* Background Animation */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/bg.png') no-repeat center center/cover;
    z-index: -2;
    filter: brightness(0.6);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--void-dark) 90%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 0, 26, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 2px solid var(--void-purple);
}

.nav-brand {
    font-size: 2rem;
    color: var(--void-light);
    text-shadow: 0 0 10px var(--void-purple);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--void-light);
}

/* Navbar Status */
.nav-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(157, 0, 255, 0.3);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.nav-links a.active {
    color: var(--emerald);
    border-bottom: 2px solid var(--emerald);
}

/* Hero Section */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    filter: drop-shadow(0 0 20px var(--void-purple));
    animation: float 6s ease-in-out infinite;
}

.hero-btn {
    margin-top: 30px;
    padding: 15px 40px;
    font-family: 'VT323', monospace;
    font-size: 2rem;
    background: var(--minecraft-btn);
    color: white;
    border: 4px solid black;
    border-top-color: #a0a0a0;
    border-left-color: #a0a0a0;
    border-right-color: #3e3e3e;
    border-bottom-color: #3e3e3e;
    cursor: pointer;
    transition: transform 0.1s;
    text-shadow: 2px 2px #000;
}

.hero-btn:active {
    border-top-color: #3e3e3e;
    border-left-color: #3e3e3e;
    border-right-color: #a0a0a0;
    border-bottom-color: #a0a0a0;
    transform: translateY(4px);
}

.server-ip {
    margin-top: 20px;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--emerald);
    cursor: pointer;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Sections */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--void-light);
    text-shadow: 4px 4px var(--obsidian);
}

/* About & Founders (Cards) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: rgba(18, 18, 18, 0.8);
    border: 2px solid var(--void-purple);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.founder-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--void-purple);
    box-shadow: 0 0 20px var(--void-purple);
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover .founder-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--void-light);
    border-color: var(--void-light);
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-accent);
}

.card p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--void-purple);
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(10, 0, 26, 0.9));
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Leaderboard Styles */
.leaderboard-table {
    width: 100%;
    background: rgba(10, 0, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid var(--void-purple);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin-top: 40px;
}

.leaderboard-table th {
    background: var(--void-purple);
    color: var(--void-light);
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    padding: 15px;
    text-align: left;
}

.leaderboard-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(157, 0, 255, 0.1);
    color: #ccc;
}

.leaderboard-table tr:hover {
    background: rgba(157, 0, 255, 0.05);
}

.rank-text {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: var(--emerald);
}

/* Rules */
.rules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: transparent;
    padding: 0;
    border: none;
}

.rule-item {
    background: rgba(10, 0, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid var(--void-purple);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.rule-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--emerald);
    box-shadow: 0 0 30px rgba(80, 200, 120, 0.2);
}

.rule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(157, 0, 255, 0.1), transparent);
    transition: 0.5s;
}

.rule-item:hover::before {
    left: 100%;
}

.rule-number {
    font-family: 'VT323', monospace;
    font-size: 3rem;
    color: var(--emerald);
    opacity: 0.5;
    position: absolute;
    top: 10px;
    right: 20px;
    width: auto;
}

.rule-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px var(--void-purple));
    transition: transform 0.3s;
}

.rule-item:hover .rule-icon {
    transform: scale(1.2) rotate(5deg);
}

.rule-title {
    font-family: 'VT323', monospace;
    font-size: 1.8rem;
    color: var(--void-light);
    margin-bottom: 10px;
}

.rule-text {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.4;
}

/* Shop (Grid) */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.shop-item {
    background: linear-gradient(145deg, #1a0033, #0a001a);
    border: 2px solid var(--emerald);
    padding: 20px;
    text-align: center;
    border-radius: 15px;
}

.shop-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.price {
    font-family: 'VT323';
    font-size: 2rem;
    color: var(--emerald);
    margin: 10px 0;
}

/* Rank Perks */
.rank-perks {
    list-style: none;
    text-align: left;
    margin: 20px 0;
    padding: 0 10px;
}

.rank-perks li {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 5px;
}

.rank-perks li::before {
    content: "◈";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 0.8rem;
    top: 3px;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Payment Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--obsidian);
    margin: 10% auto;
    padding: 30px;
    border: 2px solid var(--void-purple);
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(61, 0, 117, 0.5);
    position: relative;
    color: var(--text-main);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
}

.input-group {
    margin-top: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-accent);
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
}

.input-group input {
    width: 100%;
    padding: 10px;
    background: #000;
    border: 1px solid var(--void-purple);
    color: #fff;
    font-family: 'Inter', sans-serif;
    border-radius: 5px;
    outline: none;
}

.input-group input:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 10px rgba(80, 200, 120, 0.3);
}

.modal-price {
    font-family: 'VT323';
    font-size: 3rem;
    color: var(--emerald);
    margin: 10px 0;
}

.text-btn {
    background: none;
    border: none;
    color: #888;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 0, 26, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        border-bottom: 2px solid var(--void-purple);
        gap: 20px;
        text-align: center;
        animation: slideDown 0.3s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: var(--void-light);
        transition: 0.3s;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 50px;
    color: #666;
    margin-top: 50px;
}