* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Fredoka', sans-serif; 
    background: #000;
    color: #fff; 
    min-height: 100vh; 
}

.hatter-video { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; z-index: -2; 
}
.hatter-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.397); z-index: -1; 
}

.szabalyhatter { display: flex; justify-content: center; padding: 60px 20px; position: relative; z-index: 1; }

.szabalygui { 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(15px);
    border-radius: 20px; 
    width: 100%; max-width: 800px; padding: 50px; 
    color: #fff; 
}

h1 { color: #ffd53b; font-size: 2.8em; margin-bottom: 20px; text-align: center; }
p { font-size: 1.1em; line-height: 1.7; color: #ccc; margin: 10px 0; }
hr { border: 0; height: 1px; background: rgba(255, 255, 255, 0.1); margin: 30px 0; }

.szabalyrub { background: rgba(255, 255, 255, 0.03); padding: 20px; border-radius: 12px; margin-bottom: 20px; border-left: 4px solid #ffd53b; }
details { cursor: pointer; transition: all 0.3s ease; }
summary { font-size: 1.4em; color: #ffd53b; font-family: 'Fredoka', sans-serif; list-style: none; padding: 10px 0; position: relative; font-weight: bold; }
summary::after { content: '+'; position: absolute; right: 10px; transition: transform 0.3s ease; color: #ffd53b; }
details[open] summary::after { transform: rotate(45deg); }
details[open] p { animation: fadeIn 0.4s ease-in-out; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.visszagombresz { 
    text-align: center; 
    margin-top: 40px; 
}
.visszagomb { 
    display: inline-block; 
    padding: 12px 30px;
    background: #1a1a1a; 
    color: #fff; 
    font-weight: bold; 
    text-decoration: none; 
    font-family: 'Fredoka', sans-serif;
    font-size: 16px;
    border-radius: 8px; 
    border: 2px solid #333; 
    box-shadow: 0 5px 0 #000; 
    transition: all 0.1s ease;
    cursor: pointer;
}
.visszagomb:hover { 
    background: #252525; 
    transform: translateY(-2px); 
    box-shadow: 0 7px 0 #000; 
    border-color: #ffd43b; 
}
.visszagomb:active { 
    transform: translateY(3px); 
    box-shadow: 0 0 0 #000; 
    background: #333; 
}

.leiras { color: #666; font-size: 0.8em; margin-top: 50px; text-align: center; }