/* 
 * ZwariowaneMC - Style Sheet
 * Theme: Pink & Blue Neon / Minecraft / Gaming
 */

:root {
    --primary-color: #ff00cc;
    --secondary-color: #00ccff;
    --bg-dark: #0a0a0f;
    --bg-panel: rgba(20, 20, 30, 0.8);
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --glow-primary: 0 0 15px rgba(255, 0, 204, 0.5);
    --glow-secondary: 0 0 15px rgba(0, 204, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button & Link Styles */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn-primary,
.btn-secondary,
.btn-discord {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo img {
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.logo span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    opacity: 0.8;
}

.nav-links li a:hover,
.nav-links li a.active {
    opacity: 1;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

.btn-nav {
    background: #5865F2;
    /* Discord color */
    padding: 8px 20px;
    border-radius: 6px;
    color: white !important;
}

.btn-nav:hover {
    background: #4752c4;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* You can replace this with a real screenshot of the server later */
    background: radial-gradient(circle at center, rgba(10, 10, 20, 0.5) 0%, #0a0a0f 100%),
        url('https://i.imgur.com/2NE8Bnl.jpeg') center/cover no-repeat;
    z-index: -1;
    filter: blur(3px) brightness(0.6);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin-bottom: 10px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.server-ip-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.server-ip {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#server-ip {
    font-family: monospace;
    font-size: 1.4rem;
    padding: 0 20px;
    color: var(--secondary-color);
    font-weight: 700;
}

#copy-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

#copy-btn:hover {
    background: #d900ad;
    transform: scale(1.05);
}

.online-status {
    font-size: 0.9rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 60px;
    color: white;
    text-shadow: 0 0 20px rgba(0, 204, 255, 0.2);
}

/* Modes Grid */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mode-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 204, 0.3);
}

.mode-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.mode-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.mode-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

/* Info Section */
.info-section {
    background: linear-gradient(180deg, var(--bg-dark), #101018, var(--bg-dark));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: var(--secondary-color);
    border: 1px solid rgba(0, 204, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    background: var(--secondary-color);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Staff Section */
.staff-section {
    background: linear-gradient(180deg, var(--bg-dark), #151520, var(--bg-dark));
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-content: center;
}

.staff-card {
    background: #0d0d12;
    border: 1px solid rgba(252, 248, 248, 0.05);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 4, 234, 0.856);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
}

.staff-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.badge.owner {
    background: #f700ff;
    box-shadow: 0 0 10px rgba(204, 0, 170, 0.4);
}

.badge.girl {
    background: #9c00e4;
    box-shadow: 0 0 10px rgba(156, 0, 228, 0.4);
}

.badge.dev {
    background: #00a4aa;
    box-shadow: 0 0 10px rgba(153, 0, 204, 0.4);
}

.badge.darmozjad {
    background: #cc7400;
}

/* Rules Page */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
    background: transparent;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 0, 204, 0.3);
    margin-bottom: 10px;
}

.page-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.rules-section {
    padding-bottom: 100px;
}

.rules-card {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.rules-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.rules-header .icon {
    font-size: 2.5rem;
}

.rules-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rule-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: background 0.3s;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.rule-item p {
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Discord Section */
.discord-box {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.3);
}

.discord-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.discord-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-discord {
    background: white;
    color: #5865F2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-discord:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #050508;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-gray);
    max-width: 300px;
}

.footer-links ul {
    list-style: none;
    margin-top: 15px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-gray);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    color: var(--text-gray);
    font-weight: 500;
}

.social-icons a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(10, 10, 20, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}