@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;
    --section-bg: #030303;
    --card-bg: #080808;
    --online-color: #2ecc71;
    --offline-color: #e74c3c;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.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-color: rgba(7, 7, 7, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    border-radius: 0 0 15px 15px;
    margin: 0 20px;
    margin-left: auto;
    margin-right: auto;
}


#logo-img {
    height: 50px;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar.scrolled .nav-links li a {
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-links li a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(115, 26, 232, 0.3);
}

/* Logo po scrollu */
.navbar.scrolled .logo {
    font-size: 22px;
    transition: all 0.3s ease;
}

/* Store button po scrollu */
.navbar.scrolled #store-btn {
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.navbar.scrolled #store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 51, 0.3);
}

/* Menu toggle po scrollu */
.navbar.scrolled .menu-toggle {
    color: var(--text-color);
}

/* Responsive úpravy */
@media (max-width: 768px) {
    .navbar.scrolled {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .navbar.scrolled {
        padding: 10px 15px;
    }
}

/* Přidat padding k hlavnímu obsahu, protože navbar je fixed */
main {
    padding-top: 0;
}

/* Hero sekce - upravíme kvůli fixed navbaru */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px; /* Výška navbaru */
}

.navbar .logo {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
}

.navbar .logo a {
    text-decoration: none;
    color: var(--primary-color);
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar .nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    padding: 7px 20px;
    font-weight: bold;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar .nav-links li a:hover {
    background-color: var(--primary-color);
    padding: 7px 20px;
    border-radius: 25px;
}

#home-btn {
    background-color: var(--primary-color);
    padding: 7px 20px;
}

#store-btn {
    background-color: var(--shop-color);
    border-radius: 25px;
    padding: 7px 20px;
    font-weight: bold;
    color: #000;
}

#store-btn:hover {
    background-color: #ff784d;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* 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;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.server-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.server-ip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 10px;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.copy-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background-color: #5a15c2;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #5a15c2;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(115, 26, 232, 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(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    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;
}

/* 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);
}

.server-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    text-align: center;
}

.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 {
    padding: 80px 0;
    background-color: #000;
}

.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;
}

.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;
}

.rules-note a:hover {
    text-decoration: underline;
}

.cta {
    padding: 80px 0;
    text-align: center;
}

.server-connect {
    margin: 40px 0;
}

.server-ip-large {
    background-color: var(--card-bg);
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    gap: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.copy-btn-large {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.copy-btn-large:hover {
    background-color: #5a15c2;
}

.cta-note {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.cta-note a {
    color: var(--primary-color);
    text-decoration: none;
}

.cta-note a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #070707;
    padding: 50px 0 20px;
}

.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;
}

.footer-logo p {
    margin-top: 10px;
    color: #aaa;
}

.footer-links h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #f5f5f5;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.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: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #777;
    font-size: 0.9rem;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    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;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #070707;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .server-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .server-ip-large {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .server-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

.justfrozek {
    color: var(--primary-color);
    font-weight: bold;
}

#discord-btn {
    background-color: #5865F2;
    padding: 10px;
    border-radius: 50%;
}

#discord-btn a {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

#discord-btn i {
    color: white;
    font-size: 24px;
    
}


.team-section {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.team-section .container {
    max-width: 1000px;
}

.team-category {
    margin-bottom: 60px;
}
/* Avatar – celé tělo (A-Team / Builder) */
.member-avatar.body {
    width: 110px;
    height: 160px;
}

.member-avatar.body img {
    border-radius: 12px;
    object-fit: contain;
    background: linear-gradient(180deg, #0d0d0d, #050505);
    padding: 6px;
}


.category-header {
    text-align: center;
    margin-bottom: 35px;
}

.category-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    color: var(--text-color);
}


.team-category {
    margin-bottom: 60px;
}

.category-description {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
}

.team-card {
    background-color: var(--card-bg);
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-top: 3px solid var(--primary-color);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}


.status {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--card-bg);
}

.online {
    background-color: var(--online-color);
}

.majitel {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    background-color: #d40101;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.join-team {
    background-color: var(--card-bg);
    padding: 50px 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}


.offline {
    background-color: var(--offline-color);
}

.join-team-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

hr {
    border: none;
    height: 4px;
    background-color: var(--primary-color);
    width: 80px;
    margin: 20px auto;
    border-radius: 50px;
}

.role {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #fff;
}

.role.majitel {
    background: linear-gradient(135deg, #d40101, #ff4d4d);
    font-weight: bold;
}

.role.hlavni-helper {
    background: linear-gradient(135deg, #51ff00, #36c50b);
    color: #000;
    font-weight: bold;
}

.role.helper {
    background: #51ff00;
    color: #000;
    font-weight: bold;
}


.discord-btn {
    background-color: #5865F2;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.1rem;
}

.discord-join {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* === HLAVNÍ SEKCÉ PRAVIDEL === */
.pravidla-section {
    padding: 100px 0;
}

.pravidla-section .container {
    max-width: 1200px;
}

/* === GRID PRO KARTY === */
.pravidla-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .pravidla-grid {
        grid-template-columns: 1fr;
    }
}

/* === MODERNÍ KARTA === */
.modern-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--card-bg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

/* Karta na celou šířku */
.full-width {
    grid-column: 1 / -1;
}

/* === HLAVIČKA KARTY === */
.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4773b6 100%);
    padding: 25px;
    text-align: center;
    position: relative;
}

.card-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.card-title {
    color: white;
    font-size: 1.8rem;
    margin: 10px 0;
    font-weight: 700;
}

.card-badge {
    display: inline-block;
    background: rgba(12, 12, 12, 0.2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* === OBSAH KARTY === */
.card-content {
    padding: 30px;
}

/* === SEZNAM PRAVIDEL === */
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(88, 88, 88, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s ease;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(5px);
}

.rule-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Barvy ikon pro různá pravidla */
.rule-item i.bx-check-circle {
    color: #4CAF50;
}

.rule-item i.bx-x-circle {
    color: #f44336;
}

.rule-item i.bx-block {
    color: #ff9800;
}

.rule-item i.bx-shield-alt {
    color: #2196F3;
}

.rule-item i.bx-message-alt-x {
    color: #9C27B0;
}

.rule-item i.bx-error-alt {
    color: #ff4444;
}

.rule-item i.bx-target-lock {
    color: #00BCD4;
}

.rule-item i.bx-buildings {
    color: #795548;
}

.rule-item i.bx-leaf {
    color: #8BC34A;
}

.rule-item i.bx-chip {
    color: #607D8B;
}

.rule-item i.bx-user-check {
    color: #E91E63;
}

.rule-item i.bx-no-entry {
    color: #f44336;
}

.rule-item i.bx-chat {
    color: #FFC107;
}

.rule-item i.bx-message-square-x {
    color: #FF5722;
}

.rule-item i.bx-handshake {
    color: #4CAF50;
}

.rule-item i.bx-party {
    color: #9C27B0;
}

.rule-item i.bx-cog {
    color: #607D8B;
}

.rule-item i.bx-duplicate {
    color: #FF9800;
}

.rule-item i.bx-backup {
    color: #2196F3;
}

.rule-item i.bx-server {
    color: #3F51B5;
}

.rule-item i.bx-gavel {
    color: #795548;
}

/* Speciální třídy pro pravidla */
.rule-item.warning {
    border-left-color: #ff9800;
    background: rgba(255, 152, 0, 0.05);
}

.rule-item.important {
    border-left-color: #f44336;
    background: rgba(244, 67, 54, 0.05);
}

.rule-item.important i {
    color: #f44336;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rule-item span {
    color: #e0e0e0;
    line-height: 1.6;
    text-align: left;
}

.rule-item strong {
    color: white;
    font-weight: 600;
}

.rule-item em {
    color: #ff9800;
    font-style: italic;
}

/* === GRID PRO TRESTY === */
.punishment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.punishment-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.punishment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.punishment-item.warning-punishment {
    border-top: 4px solid #ff9800;
}

.punishment-item.temp-punishment {
    border-top: 4px solid #f44336;
}

.punishment-item.perm-punishment {
    border-top: 4px solid #d32f2f;
}

.punishment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.punishment-item.warning-punishment .punishment-icon i {
    color: #ff9800;
}

.punishment-item.temp-punishment .punishment-icon i {
    color: #f44336;
}

.punishment-item.perm-punishment .punishment-icon i {
    color: #d32f2f;
}

.punishment-item h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.punishment-item p {
    color: #b0b0b0;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* === INFORMAČNÍ BOX (pokud bys ho chtěl zpět) === */
.info-box {
    background: #030303;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid var(--primary-color);
    margin-top: 30px;
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-content p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-link:hover {
    background: #3a6ab3;
    transform: translateX(5px);
}

/* === RESPONSIVNÍ ÚPRAVY === */
@media (max-width: 768px) {
    .pravidla-grid {
        gap: 20px;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .rule-item {
        padding: 12px;
        margin-bottom: 10px;
        gap: 10px;
    }
    
    .rule-item i {
        font-size: 1.3rem;
    }
    
    .punishment-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .punishment-item {
        padding: 20px;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 2.5rem;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pravidla-grid {
        gap: 15px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .rule-item {
        padding: 10px;
        gap: 8px;
    }
    
    .rule-item i {
        font-size: 1.2rem;
    }
    
    .punishment-item {
        padding: 15px;
    }
    
    .punishment-icon {
        font-size: 2rem;
    }
    
    .punishment-item h4 {
        font-size: 1.1rem;
    }
}

.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;
    }
}