/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --background-color: #000000;
    --text-color: #f5f5f5;
    --primary-color: #731ae8;
    --shop-color: #ff5733;
    --discord-color: #5865F2;
    --section-bg: #030303;
    --card-bg: #080808;
    --online-color: #2ecc71;
    --offline-color: #e74c3c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background-color: rgba(7, 7, 7, 0);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#logo-img {
    height: 80px;
    transition: all 0.3s ease;
}

#logo-img-hero {
    height: 80px;
    transition: all 0.3s ease;
}

/* Animace pro navbar */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.5s ease-out;
}

/* Logo po scrollu */
.navbar.scrolled .logo img {
    height: 40px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.navbar .nav-links li {
    margin: 0;
}

.navbar .nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.navbar .nav-links li a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 26, 232, 0.3);
}

/* Specifické styly pro tlačítka v navbaru */
#home-btn {
    background-color: var(--primary-color);
}

#discord-nav-btn a {
    background-color: var(--discord-color);
}

#discord-nav-btn a:hover {
    background-color: #4752c4;
}

#store-btn a {
    background-color: var(--shop-color);
    color: #000;
}

#store-btn a:hover {
    background-color: #ff784d;
    color: #000;
}

/* Navbar odkazy po scrollu */
.navbar.scrolled .nav-links li a {
    padding: 8px 16px;
    font-size: 0.95rem;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-color);
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('../img/image.png') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.hero-title img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.server-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.server-ip {
    display: flex;
    justify-content: center;
}

.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.copy-btn:hover {
    background-color: #5a15c2;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(115, 26, 232, 0.3);
}

.discord-btn {
    background-color: var(--discord-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background-color: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: #ccc;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-text p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.8;
}

.server-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    text-align: center;
    max-width: 300px;
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: #aaa;
}

/* Rules Preview */
.rules-preview {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.rules-list {
    max-width: 600px;
    margin: 0 auto 30px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ccc;
}

.rule-item i {
    color: var(--online-color);
    font-size: 1.5rem;
}

.rules-note {
    text-align: center;
    color: #aaa;
}

.rules-note a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rules-note a:hover {
    color: #8a3cf5;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #070707;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    font-family: 'Anton', sans-serif;
    font-size: 28px;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #aaa;
    line-height: 1.6;
}

.footer-links h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

#discord-btn {
    background-color: var(--discord-color);
}

#discord-btn:hover {
    background-color: #4752c4;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #777;
    font-size: 0.9rem;
}

.justfrozek {
    color: var(--primary-color);
    font-weight: bold;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #161616;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1001;
    font-weight: 500;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification i {
    color: var(--online-color);
    margin-right: 10px;
    height: 27px;
    width: 27px;
    line-height: 27px;
    border: 2px solid var(--online-color);
    border-radius: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar .nav-links {
        gap: 10px;
    }
    
    .navbar .nav-links li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .hero-title img {
        max-width: 350px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 15px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid #222;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .nav-links li a {
        justify-content: center;
        padding: 12px 20px;
        border-radius: 25px;
        background-color: var(--card-bg);
    }
    
    .hero {
        padding: 60px 20px;
        margin-top: 70px;
    }
    
    .hero-title img {
        max-width: 300px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .server-info {
        gap: 20px;
    }
    
    .copy-btn, .discord-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title img {
        max-width: 250px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 30px;
        max-width: 200px;
        margin: 40px auto 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .rules-list {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 12px 15px;
    }
    
    #logo-img {
        height: 40px;
    }
}


.mala-cara{
    border: none;
    height: 4px;
    background-color: var(--primary-color);
    width: 40px;
    margin: 20px auto;
    border-radius: 50px;
}


.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loading-screen .spinner {
    border: 8px solid #111111;
    border-top: 8px solid var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 220px;
    z-index: 999;
    border-radius: 10px;
    overflow: hidden;
    top: 105%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: top center;

}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
    background-color: #a5a5a504;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    background-color: transparent;
    border-radius: 0;
    font-weight: 500;
    border-radius: 10px;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(115, 26, 232, 0.2);
    padding-left: 25px;
    transform: none;
    box-shadow: none;
    border-radius: 10px;
}

.dropdown-content i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.dropdown-content a:nth-child(1) i {
    color: #5865F2;
}

.dropdown-content a:nth-child(2) i {
    color: #E4405F;
}

.dropdown-content a:nth-child(3) i {
    color: #000000;
}

.dropdown-content a:nth-child(4) i {
    color: #FF0000;
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        min-width: auto;
        margin-top: 10px;
        transform: none;
        left: 0;
        opacity: 1;
        box-shadow: none;
        border: 1px solid #333;
        border-radius: 10px;
        background-color: rgba(255, 255, 255, 0.8);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 12px 20px;
        justify-content: center;
    }
}


.copy-success {
    background-color: #4CAF50 !important;
    color: white !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.copy-btn #notification {
    color: white !important;
}