* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url("/imgs/bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
}

.hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Efeitos de luz */
.spotlight {
    position: absolute;
    width: 150px;
    height: 400px;
    background: linear-gradient(
        180deg,
        rgba(255, 215, 0, 0.3) 0%,
        transparent 100%
    );
    filter: blur(20px);
    transform-origin: top center;
    z-index: 1;
    pointer-events: none;
}

.spotlight-1 {
    top: -50px;
    left: 20%;
    animation: spotlightMove1 8s ease-in-out infinite;
}
.spotlight-2 {
    top: -50px;
    right: 20%;
    animation: spotlightMove2 10s ease-in-out infinite;
    background: linear-gradient(
        180deg,
        rgba(147, 51, 234, 0.3) 0%,
        transparent 100%
    );
}

@keyframes spotlightMove1 {
    0%,
    100% {
        transform: rotate(-20deg) translateX(0);
    }
    50% {
        transform: rotate(-5deg) translateX(30px);
    }
}

@keyframes spotlightMove2 {
    0%,
    100% {
        transform: rotate(20deg) translateX(0);
    }
    50% {
        transform: rotate(5deg) translateX(-30px);
    }
}

/* Partículas */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.particle-gold {
    background: radial-gradient(circle, #ffd700 0%, transparent 70%);
    box-shadow: 0 0 10px #ffd700;
}

.p1 {
    width: 6px;
    height: 6px;
    left: 10%;
    animation: float1 20s linear infinite;
}
.p2 {
    width: 4px;
    height: 4px;
    left: 80%;
    animation: float2 15s linear infinite 2s;
}
.p3 {
    width: 5px;
    height: 5px;
    left: 50%;
    animation: float3 18s linear infinite 4s;
}

@keyframes float1 {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float2 {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes float3 {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Container do conteúdo */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rules-card {
    background: rgba(27, 27, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid #d8b546;
    border-radius: 20px;
    padding: 50px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.rules-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: cardShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes cardShine {
    0%,
    100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

.header-section {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #d4af37;
}

.back-link svg {
    width: 18px;
    height: 18px;
}

.header-section h1 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.header-section .subtitle {
    color: #f3f2f2;
    font-size: 1rem;
}

.rules-list {
    list-style: none;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #313131 0%, #292828 100%);
    border-left: 4px solid #d4af37;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.rules-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.event-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.event-info svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.event-info strong {
    font-weight: 600;
}

.icon-svg {
    width: 20px;
    height: 20px;
    color: #d4af37;
    vertical-align: middle;
    margin-right: 8px;
}

.rule-number {
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rule-content {
    flex: 1;
}

.rule-content strong {
    color: #fff;
    margin-bottom: 4px;
}

.rule-content p {
    color: #ececec;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #313131 0%, #292828 100%);
    border-radius: 12px;
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.checkbox-section:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.checkbox-section input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #d4af37;
    cursor: pointer;
}

.checkbox-section label {
    color: #f0f0f0;
    font-size: 0.95rem;
    cursor: pointer;
    flex: 1;
}

.checkbox-section label strong {
    color: #ffffff;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

.cta-button.active {
    opacity: 1;
    pointer-events: auto;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #e0bc42 0%, #c4a01f 100%);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px auto;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    text-align: center;
    z-index: 100;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-text a {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
}

.footer-text a:hover {
    transition: 0.3s;
    color: #cac7be;
}

/* Responsivo */
@media (max-width: 768px) {
    .rules-card {
        padding: 30px 20px;
    }

    .header-section h1 {
        font-size: 1.7rem;
    }

    .rules-list li {
        padding: 15px;
    }

    .footer {
        position: absolute;
        padding: 0px;
    }
}
