.halloween-contest-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(255, 94, 0, 0.3), 0 0 100px rgba(138, 43, 226, 0.2);
    border: 2px solid #ff5e00;
    position: relative;
    overflow: hidden;
}

.halloween-contest-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.1) 0%, transparent 70%);
    animation: halloween-pulse 4s ease-in-out infinite;
}

@keyframes halloween-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.halloween-contest-container * {
    position: relative;
    z-index: 1;
}

.halloween-contest-title {
    text-align: center;
    color: #ff5e00;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 94, 0, 0.8), 0 0 40px rgba(138, 43, 226, 0.5);
    font-weight: 900;
    animation: halloween-glow 2s ease-in-out infinite alternate;
}

@keyframes halloween-glow {
    from { text-shadow: 0 0 20px rgba(255, 94, 0, 0.8), 0 0 40px rgba(138, 43, 226, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 94, 0, 1), 0 0 60px rgba(138, 43, 226, 0.8); }
}

.halloween-contest-subtitle {
    text-align: center;
    color: #b388ff;
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(179, 136, 255, 0.5);
}

.halloween-contest-description {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1em;
}

.halloween-prize-section {
    background: rgba(255, 94, 0, 0.1);
    border: 2px solid #ff5e00;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.2);
}

.halloween-prize-title {
    color: #ff5e00;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}

.halloween-prize-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.halloween-prize-list li {
    padding: 12px 20px;
    margin: 10px 0;
    background: rgba(138, 43, 226, 0.2);
    border-left: 4px solid #8a2be2;
    border-radius: 8px;
    color: #fff;
    font-size: 1.05em;
    transition: all 0.3s ease;
}

.halloween-prize-list li:hover {
    background: rgba(138, 43, 226, 0.3);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.halloween-contest-form {
    margin-top: 30px;
}

.halloween-form-group {
    margin-bottom: 25px;
}

.halloween-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #b388ff;
    font-weight: 600;
    font-size: 1.05em;
    text-shadow: 0 0 5px rgba(179, 136, 255, 0.3);
}

.halloween-form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #8a2be2;
    border-radius: 10px;
    background: rgba(26, 10, 46, 0.8);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.halloween-form-group input:focus {
    outline: none;
    border-color: #ff5e00;
    box-shadow: 0 0 20px rgba(255, 94, 0, 0.4), 0 0 40px rgba(138, 43, 226, 0.2);
    background: rgba(26, 10, 46, 0.9);
}

.halloween-form-group input::placeholder {
    color: #8a2be2;
}

.halloween-form-group input.error {
    border-color: #f44336;
}

.halloween-form-error {
    color: #f44336;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

.halloween-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.halloween-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff5e00 0%, #ff8c00 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(255, 94, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.halloween-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.halloween-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.halloween-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255, 94, 0, 0.6);
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e00 100%);
}

.halloween-submit-btn:active {
    transform: translateY(0);
}

.halloween-submit-btn:disabled {
    background: #4a4a4a;
    cursor: not-allowed;
    box-shadow: none;
}

.halloween-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    animation: halloween-slideIn 0.3s ease;
}

@keyframes halloween-slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.halloween-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #4caf50;
}

.halloween-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
}

.halloween-rules {
    margin-top: 30px;
    padding: 25px;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid #8a2be2;
    border-radius: 15px;
}

.halloween-rules h3 {
    color: #ff5e00;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 94, 0, 0.5);
}

.halloween-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.halloween-rules li {
    padding: 10px 0;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    line-height: 1.6;
}

.halloween-rules li:last-child {
    border-bottom: none;
}

.halloween-rules li:before {
    content: '🎃';
    margin-right: 10px;
}

.halloween-contest-closed {
    text-align: center;
    padding: 40px;
    color: #ff5e00;
    font-size: 1.5em;
    text-shadow: 0 0 20px rgba(255, 94, 0, 0.5);
}

@media (max-width: 768px) {
    .halloween-contest-container {
        padding: 25px;
        margin: 20px;
    }
    
    .halloween-contest-title {
        font-size: 1.8em;
    }
    
    .halloween-contest-subtitle {
        font-size: 1em;
    }
}