body {
    font-family: "Roboto Condensed", serif;
    background-color: #1e1e1e;
    color: #e0e0e0;
    text-align: center;
    overflow-x: hidden;
    margin: 0;
    padding: 10px;
    position: relative;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background-color: #cd6926;
    border-radius: 10px;
    border: 3px solid #1e1e1e;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ff8c42;
    border-color: #1e1e1e;
}

@media (max-width: 768px) {
    /* body {
        padding: 10px;
    } */

    /* .container {
        width: 95%;
        margin: 30px auto;
        padding: 20px;
    } */

    @keyframes float {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(3vw, 3vh) rotate(1deg); }
    }
}

@media (max-width: 480px) {
    /* body {
        padding: 10px;
    } */

    /* .container {
        width: 100%;
        margin: 20px auto;
        padding: 15px;
        border-radius: 6px;
    } */

    @keyframes gridFlow {
        from { background-position: 0 0; }
        to { background-position: 200px 200px; }
    }

    @keyframes float {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(2vw, 2vh) rotate(0.5deg); }
    }
}

.server-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    padding-top: -20px;
}

.server-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.server-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(145deg, #272727, #1e1e1e);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.server-option:hover {
    background: linear-gradient(145deg, #333, #444);
    box-shadow: 0 12px 24px rgba(205, 105, 38, 0.5);
    transform: translateY(-5px) scale(1.05);
}

.server-option img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
    transition: transform 0.3s ease-in-out;
}

.server-option:hover img {
    transform: scale(1.1);
}

.server-option p {
    font-size: 18px;
    font-weight: bold;
    color: #cd6926;
    margin: 0;
}

.server-selector h2 {
    font-size: 1.5em;
    font-weight: 500;
    color: #c0c0c0;
    margin: 30px 0;
}

/* Reszponzivitás */
@media (max-width: 768px) {
    .server-options {
        flex-direction: column;
        align-items: center;
    }

    .server-option {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .server-option {
        width: 140px;
        padding: 15px;
    }

    /* .server-option img {
        width: 75px;
        height: 75px;
    } */

    .server-option p {
        font-size: 16px;
    }
}


.container {
    /* width: 90%; */
    max-width: 1200px;
    margin: 5vh auto;
    padding: clamp(20px, 3vw, 30px);
    background-color: #2b2b2b;
    border-radius: clamp(8px, 1.5vw, 12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    backdrop-filter: blur(2px);
}

h1 {
    color: #cd6926;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.last-updated {
    font-size: 0.9em;
    color: #c0c0c0;
    margin-top: 5px;
}

.time-animate {
    display: inline-block;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(90deg, #965930, #cd6926);
    padding: 2px 4px;
    border-radius: 4px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


strong {
    color: #ff0000;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2px 2px;
    border-radius: 4px;
}

.logo {
    width: 280px;
    filter: drop-shadow(0 0 15px rgba(205, 105, 38, 0.5));
    animation: logoAura 4s ease-in-out infinite;
    transform-origin: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

@keyframes logoAura {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
        filter: drop-shadow(0 0 15px rgba(205, 105, 38, 0.5)) brightness(1);
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(205, 105, 38, 0.7)) brightness(1.1);
    }
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 25%, rgba(205, 105, 38, 0.3) 50%, transparent 75%);
    animation: logoShine 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

@keyframes logoShine {
    0% {
        transform: translate(-30%, -30%) rotate(45deg);
    }
    100% {
        transform: translate(70%, 70%) rotate(45deg);
    }
}

.logo:hover {
    animation: logoHover 1.5s ease-out forwards;
    filter: drop-shadow(0 0 30px rgba(205, 105, 38, 0.8)) brightness(1.15);
}

@keyframes logoHover {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03) rotateZ(-1deg);
    }
    100% {
        transform: scale(1.01);
    }
}

.logo:hover::before {
    opacity: 0.4;
}

@keyframes logoIntro {
    from {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

body.loaded .logo {
    animation: logoAura 4s ease-in-out infinite, logoIntro 1.2s ease-out;
}

.rule-section {
    margin: 10px 0;
    border: 1px solid #404040;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #2b2b2b, #222);
}

.rule-header {
    padding: 18px;
    background-color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.rule-header h2 {
    margin: 0;
    font-size: 1.1em;
    color: #cd6926;
    font-weight: 500;
    text-align: left;
}

.rule-header:hover {
    background-color: #3a3a3a;
    transform: scale(1.005);
    box-shadow: 0 8px 20px rgba(205, 105, 38, 0.5);
    color: #ff8c42;
    animation: ruleHeaderHover 0.3s ease;
}

@keyframes ruleHeaderHover {
    0% {
        background-color: #3a3a3a;
        transform: scale(1);
    }
    100% {
        background-color: #3a3a3a;
        transform: scale(1.005);

        box-shadow: 0 8px 20px rgba(205, 105, 38, 0.5);
        color: #ff8c42;
    }
}

.rule-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgb(28, 28, 28);
    border-top: 1px solid #404040;
    text-align: left;
}

.rule-content a {
    color: #cd6926;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.rule-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #cd6926;
    transition: width 0.3s ease;
}

.rule-content a:hover::after {
    width: 100%;
}

.rule-content a:hover {
    color: #ff8c42;
    text-shadow: 0 0 8px rgba(205, 105, 38, 0.3);
}

.rule-content p {
    padding: 20px 0;
    margin: 0;
    line-height: 1.6;
    color: #c0c0c0;
    border-bottom: 1px dashed #404040;
    position: relative;
    padding-left: 20px;
    text-transform: initial;
    transition: color 0.3s ease;
}

.rule-content p:hover {
    color: #ff8c42;
}

.rule-content p:last-child {
    border-bottom: none;
}

.rule-content p::before {
    content: "•";
    color: rgb(205, 105, 38);
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.open {
	max-height: 9999px;
}

.nested-rule-section {
    margin: 10px 0;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
}

.nested-rule-header {
    padding: 12px 18px;
    background-color: #252525;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.nested-rule-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #cd6926;
    font-weight: 500;
}

.nested-rule-header:hover {
    background-color: #2d2d2d;
}

.nested-rule-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #1c1c1c;
}

.nested-rule-content a {
    color: #cd6926;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nested-rule-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #cd6926;
    transition: width 0.3s ease;
}

.nested-rule-content a:hover::after {
    width: 100%;
}

.nested-rule-content a:hover {
    color: #ff8c42;
    text-shadow: 0 0 8px rgba(205, 105, 38, 0.3);
}

.nested-rule-content p {
    padding: 15px 0;
    font-size: 0.95em;
    border-bottom: 1px dotted #353535;
}

.arrow.small {
    font-size: 0.8em;
    margin-left: 10px;
}

.search-box {
    margin: 30px 0;
    position: relative;
    display: flex;
    justify-content: center;
}

.search-box input {
    width: 70%;
    padding: 15px 15px;
    background: linear-gradient(145deg, #2b2b2b, #222);
    border: 1px solid #cd6926;
    border-radius: 10px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.search-box input::placeholder {
    color: #aaa;
    transition: all 0.3s ease;
}

.search-box input:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(205, 105, 38, 0.2);
}

.search-box input:focus {
    outline: none;
    border-color: #ff8c42;
    box-shadow: 0 0 25px rgba(205, 105, 38, 0.4);
    background: linear-gradient(145deg, #252525, #1e1e1e);
    padding: 15px 20px;
}

.search-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(205, 105, 38, 0.1) 50%, transparent 100%);
    transform: translateX(-50%);
    transition: width 0.4s ease;
    z-index: 0;
}

.search-box input:focus::placeholder {
    opacity: 0.5;
    transform: translateX(10px);
}

.search-box input:focus ~ .search-box::after {
    width: 100%;
}

.search-box input:hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.05) 50%, transparent 75%);
    animation: lightFlow 3s linear infinite;
    z-index: -1;
}

@keyframes lightFlow {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
    .search-box input {
        width: 85%;
        padding: 12px 15px;
    }
    
    .search-box input:focus {
        padding: 12px 20px;
    }
}

.highlight {
    background-color: #cd6926;
    color: white;
    padding: 0 0px;
    border-radius: 2px;
}

.arrow, .logo, .rule-header, .time-animate, .server-option {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.footer {
    position: relative;
    margin: 80px auto 10px;
    box-sizing: border-box;
    width: 90%;
    max-width: 1200px;
    padding: 20px 30px;
    font-size: 0.9em;
    color: #e0e0e0;
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-radius: 12px;
    border: 1px solid rgba(205, 105, 38, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.footer:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 0%, rgba(205, 105, 38, 0.08) 50%, transparent 100%);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 15px 0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.footer a {
    color: #cd6926;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #cd6926;
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

.footer a:hover {
    color: #ff8c42;
    text-shadow: 0 0 8px rgba(205, 105, 38, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .footer {
        width: 95%;
        padding: 25px 20px;
        margin-top: 50px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

.copyrights {
    font-size: 0.8em;
    color: #c0c0c0;
    margin-top: 20px;
}

.copyrights p {
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author {
    color: #cd6926;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}