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

body {
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffa500 0%, #ffcc00 20%, #ff8c00 40%, #ffd700 60%, #ffa500 80%, #ffcc00 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.candy-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.candy {
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.candy1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.candy2 {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.candy3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.candy4 {
    top: 60%;
    right: 10%;
    animation-delay: 6s;
}

.candy5 {
    bottom: 10%;
    right: 30%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ff8c00 100%);
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.5);
    border-bottom: 5px solid #fff;
}

.main-title {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 
        3px 3px 0 #ff8c00,
        -3px -3px 0 #ffa500,
        3px -3px 0 #ff8c00,
        -3px 3px 0 #ffa500;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.candy-icon {
    display: inline-block;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.header-subtitle {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

main {
    padding: 40px 0;
}

.game-section {
    margin-bottom: 50px;
}

.game-box {
    background: linear-gradient(135deg, #fff 0%, #fff8e1 100%);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.4);
    border: 5px solid #ffa500;
}

.game-header {
    text-align: center;
    margin-bottom: 20px;
}

.game-header h2 {
    font-size: 2.5rem;
    color: #ff8c00;
    text-shadow: 2px 2px 0 #ffe0b2;
}

.game-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 4px solid #ff8c00;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.candy-button {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 4px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s;
}

.candy-button:hover .btn-shine {
    left: 100%;
}

.candy-button.real {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 50%, #ff6b6b 100%);
    color: #fff;
}

.candy-button.real:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
}

.candy-button.demo {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 50%, #ffa500 100%);
    color: #fff;
}

.candy-button.demo:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6);
}

.casinos-section {
    margin-bottom: 50px;
}

.section-heading {
    text-align: center;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 
        3px 3px 0 #ff8c00,
        -2px -2px 0 #ffa500;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.casino-box {
    background: linear-gradient(135deg, #fff 0%, #fff8e1 100%);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 4px solid #ffa500;
    transition: all 0.3s ease;
    position: relative;
}

.casino-box:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.casino-box.rank-1 {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fffacd 0%, #fff8dc 100%);
}

.rank-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.5);
}

.rank-crown {
    font-size: 1.2rem;
    margin-top: -5px;
}

.rank-star {
    font-size: 1rem;
    margin-top: -5px;
}

.casino-logo {
    width: 120px;
    height: 80px;
    margin: 20px auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3e50;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-placeholder {
    font-size: 1rem;
    font-weight: bold;
    color: #ff8c00;
    text-align: center;
    background: linear-gradient(135deg, #fff9c4 0%, #fff8e1 100%);
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px dashed #ffa500;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-name {
    color: #ff8c00;
    font-size: 1.8rem;
    margin: 10px 0;
}

.casino-offer {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.casino-extra {
    color: #666;
    font-size: 1rem;
    margin-bottom: 15px;
}

.casino-link {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid #fff;
}

.casino-link:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.5);
}

.content-section {
    margin-bottom: 50px;
}

.content-wrapper {
    background: linear-gradient(135deg, #fff 0%, #fff8e1 100%);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.3);
    border: 5px solid #ffa500;
}

.content-main-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ff8c00;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 #ffe0b2;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 3px solid #ffa500;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.card-header {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    padding: 15px 25px;
}

.card-header h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.card-body {
    padding: 25px;
}

.card-body p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.card-body h4 {
    color: #ff8c00;
    font-size: 1.4rem;
    margin: 20px 0 10px 0;
    text-shadow: 1px 1px 0 #ffe0b2;
}

.card-body ul, .card-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.card-body li {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.card-body li::marker {
    color: #ff8c00;
    font-weight: bold;
}

.highlight-text {
    background: linear-gradient(135deg, #fff9c4 0%, #fff8e1 100%);
    padding: 15px;
    border-left: 5px solid #ff8c00;
    border-radius: 10px;
    margin-bottom: 15px !important;
}

.highlight-text strong {
    color: #ff8c00;
    font-size: 1.2rem;
}

footer {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
    padding: 30px 0;
    text-align: center;
    border-top: 5px solid #fff;
    box-shadow: 0 -5px 20px rgba(255, 140, 0, 0.5);
}

.footer-main {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-warning {
    color: #ffff00;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1.2rem;
    }

    .game-box {
        padding: 20px;
    }

    .game-header h2 {
        font-size: 1.5rem;
    }

    .candy-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .casino-name {
        font-size: 1.5rem;
    }

    .content-wrapper {
        padding: 25px;
    }

    .content-main-title {
        font-size: 2rem;
    }

    .card-header h3 {
        font-size: 1.5rem;
    }

    .card-body p {
        font-size: 1rem;
    }

    .card-body h4 {
        font-size: 1.2rem;
    }

    .card-body li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
    }

    .candy-button {
        width: 100%;
    }

    .casino-grid {
        grid-template-columns: 1fr;
    }

    .candy {
        font-size: 2rem;
    }
}