:root {
    --nav-bg: rgba(0, 0, 0, 0.8);
    --hover-color: #ff0000;
    --text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    --hover-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000000;
    padding: 10px 20px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    margin-right: 15px;
}

.nav-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Navigation items */
.nav-item {
    position: relative;
}

.nav-item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: var(--text-shadow);
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    margin-top: 5px;
}

.dropdown-content a {
    padding: 10px 12px;
    font-size: 13px;
}

.nav-item:hover .dropdown-content {
    display: block;
}

.nav-item:hover > a,
.dropdown-content a:hover {
    color: var(--hover-color);
    background: rgba(255, 255, 255, 0.1);
    text-shadow: var(--hover-shadow);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-items {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 5px;
        padding: 10px 0;
    }

    .nav-items.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        display: block;
        padding: 10px;
    }

    .dropdown-content {
        position: static;
        background: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        margin-top: 0;
    }

    .dropdown-content a {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .nav-logo .logo {
        width: 100px;
    }

    .nav {
        padding: 8px 15px;
    }
}

/* Remove standalone body styling for main site integration */

/* SukaRata Section Integration */
#sukarata-section {
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    min-height: 80vh;
}

#sukarata-section .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#sukarata-section h2 {
    color: #fff;
    font-family: 'Orbitron', monospace;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#sukarata-section .section-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: #ccc;
    font-size: 1.1em;
    line-height: 1.6;
}

/* SukaRata Navigation Icon Styling */
.sukarata-nav-icon {
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.2) contrast(1.1);
}

.nav-button:hover .sukarata-nav-icon {
    transform: rotate(180deg) scale(1.1);
    filter: brightness(1.5) contrast(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* SukaRata Styles */
.sukarata-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    width: 100px;
    height: 100px;
    transition: transform 2s ease-out;
    background-size: cover;
    background-position: center;
    border: 2px solid #000;
    position: relative;
}

.square {
    width: 100px;
    height: 100px;
    background-image: url('../assets/sukarata/square.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid #000;
    position: relative;
    transition: transform 2s ease-out;
}

.triangle {
    width: 100px;
    height: 100px;
    background-image: url('../assets/sukarata/triangle.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid #000;
    position: relative;
    display: none;
    transition: transform 2s ease-out;
}

.gift {
    width: 200px;
    height: 200px;
    background-image: url('../assets/sukarata/gift.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid #000;
    position: relative;
    display: none;
    cursor: pointer;
}

.congratulations {
    color: red;
    font-size: 20px;
    display: none;
    margin-top: 20px;
    position: relative;
}

.spin-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: darkred;
    color: black;
    border: none;
    border-radius: 5px;
    position: relative;
}

.spin-button:disabled {
    background-color: grey;
    cursor: not-allowed;
}

#percentage {
    position: absolute;
    top: 10px;
    color: white;
    font-size: 20px;
    z-index: 1;
}

/* Removed unused animations - using transform transitions instead */