* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: white;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.company-header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-header::before {
    content: '🚴‍♂️';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 2rem;
    opacity: 0.3;
}

.company-header::after {
    content: '🚴‍♀️';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    opacity: 0.3;
}

.company-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 3px;
}

.company-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.main-nav {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.main-nav a {
    color: #495057;
    text-decoration: none;
    margin: 0 20px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
    background: #27ae60;
    color: white;
}

/* Access Code Section */
.access-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 40px;
    text-align: center;
}

.access-section h2 {
    margin-bottom: 20px;
    color: #333;
}

.code-input-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

#accessCode {
    padding: 15px 20px;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 200px;
}

#accessCode:focus {
    outline: none;
    border-color: #27ae60;
}

#spinButton {
    padding: 15px 30px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#spinButton:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#spinButton:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.code-hint {
    color: #666;
    font-size: 0.9rem;
}

.legal-notice {
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.4;
}

.legal-notice a {
    color: #27ae60;
    text-decoration: none;
}

.legal-notice a:hover {
    text-decoration: underline;
}

.code-input-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: left;
}

.contact-info p {
    margin-bottom: 5px;
    color: #495057;
}

.legal-page {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-page h1 {
    color: #27ae60;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
}

.legal-page h2 {
    color: #27ae60;
    margin: 30px 0 15px 0;
    font-size: 1.3rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
}

.legal-page h3 {
    color: #495057;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.legal-page p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #495057;
}

.legal-page ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-page li {
    line-height: 1.6;
    margin-bottom: 8px;
    color: #495057;
}

.legal-page a {
    color: #27ae60;
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Prizes Section */
.prizes-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 40px;
}

.prizes-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.prizes-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.prizes-slider::-webkit-scrollbar {
    height: 8px;
}

.prizes-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.prizes-slider::-webkit-scrollbar-thumb {
    background: #27ae60;
    border-radius: 10px;
}

.prize-card {
    min-width: 250px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.prize-card:hover {
    transform: translateY(-5px);
}

.prize-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.prize-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.prize-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Wheel Section */
.wheel-section {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.wheel-container {
    position: relative;
    display: inline-block;
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.wheel-pointer {
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid #ff4757;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    z-index: 10;
}

/* Result Section */
.result-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    margin-bottom: 40px;
}

.result-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

#winningPrize {
    margin: 20px 0;
}

#winningPrize img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

#winningPrize h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

#winningPrize p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.4;
}

.result-card > p {
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Footer */
footer {
    background: white;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
    background: #f8f9fa;
}

.footer-section h4 {
    color: #27ae60;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: #6c757d;
    line-height: 1.6;
    text-decoration: none;
}

.footer-section a:hover {
    color: #27ae60;
}

.footer-bottom {
    background: #27ae60;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .code-input-container {
        flex-direction: column;
    }
    
    #accessCode, #spinButton {
        width: 100%;
        max-width: 300px;
    }
    
    .prizes-slider {
        gap: 10px;
    }
    
    .prize-card {
        min-width: 200px;
    }
    
    #wheelCanvas {
        width: 300px;
        height: 300px;
    }
}

/* Spinning Animation */
.spinning {
    animation: spin 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(1800deg); /* 5 full rotations */
    }
}