:root {
    --primary-green: #009c41;
    --secondary-green: #007832;
    --primary-yellow: #ffd700;
    --secondary-yellow: #f9a602;
    --dark-bg: #031a0c;
    --text-light: #f5f5f5;
    --text-dark: #111;
    --overlay-dark: rgba(3, 26, 12, 0.9);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #031a0c, #001008);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-yellow);
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

button, .btn {
    background: linear-gradient(to right, var(--primary-yellow), var(--secondary-yellow));
    color: var(--dark-bg);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: inline-block;
}

button:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    text-decoration: none;
}

h1, h2, h3 {
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 50px 0;
}

section.legal section {
    padding: 20px 0;
}

section.legal .section-title {
    margin-bottom: 30px;
}

/* Header */
header {
    background-color: var(--overlay-dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 100%;
    max-width: 100px;
    height: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary-yellow), var(--secondary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(3, 26, 12, 0.9), rgba(3, 26, 12, 0.7)), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDI0MDA0IiBkPSJNMzIuMDAwIDAgTDUzLjQzOSA2NCAxMC41NjIgNjQgMzIgMHoiLz48Y2lyY2xlIGZpbGw9IiMwMDIwMDAiIGN4PSIzMiIgY3k9IjY0IiByPSIzMiIvPjxnIGZpbGw9IiMwMDQwMDYiPjxyZWN0IHg9IjMyIiB5PSIwIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiLz48cmVjdCB4PSIwIiB5PSIzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIi8+PC9nPjwvc3ZnPg==');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-wrap {
    position: relative;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    padding: 0 30px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-yellow), var(--secondary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.luck-wheel-animation {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    background: conic-gradient(var(--primary-yellow) 0deg 60deg,
            var(--primary-green) 60deg 120deg,
            #ff0000 120deg 180deg,
            #0000ff 180deg 240deg,
            #800080 240deg 300deg,
            #00ff00 300deg 360deg);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
    animation: spin 20s infinite linear;
}

.luck-wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--dark-bg);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary-yellow);
    text-transform: uppercase;
}

@keyframes spin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Content Section */
.content {
    background: linear-gradient(to bottom, #031e0f, #001008);
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTIgMjRjMS4xIDAgMi0uOSAyLTJ2LTRoNGMxLjEgMCAyLS45IDItMnMuOS0yIDItMmg0djRjMCAxLjEuOSAyIDIgMnMyLS45IDItMnYtMmg0YzEuMSAwIDItLjkgMi0ycy0uOS0yLTItMmgtNHYtNGMwLTEuMS0uOS0yLTItMnMtMiAuOS0yIDJ2NGgtNHYtNGMwLTEuMS0uOS0yLTItMnMtMiAuOS0yIDJ2NGgtNHYtNGMwLTEuMS0uOS0yLTItMnMtMiAuOS0yIDJ2NGgtNHYtNGMwLTEuMS0uOS0yLTItMnMtMiAuOS0yIDJ2NGgtNHYtNGMwLTEuMS0uOS0yLTItMnMtMiAuOS0yIDJ2NmMwIDEuMS45IDIgMiAyaDR2NGMwIDEuMS45IDIgMiAyczItLjkgMi0ydi00aDR2NGMwIDEuMS45IDIgMiAyem0wLTIwYzAtMS4xLjktMiAyLTJzMiAuOSAyIDItLjkgMi0yIDItMi0uOS0yLTJ6IiBmaWxsPSIjMDAzZjA5IiBvcGFjaXR5PSIwLjEiLz48L3N2Zz4=');
    opacity: 0.15;
    z-index: -1;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-yellow), var(--primary-green));
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-yellow);
}

.card-content {
    padding: 30px;
    text-align: center;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(to bottom, #001008, #031a0c);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTggMTJjMC0zLjMtMi43LTYtNi02cy02IDIuNy02IDYgMi43IDYgNiA2YzEuMSAwIDIuMi0uMyAzLS44di0yYy0uOC40LTEuNy42LTIuNy42LTIuMSAwLTQtMS43LTQtNC4xQzcuMSA4LjMgOC44IDcgMTEgN3MzLjkgMS40IDQgMy4xSDIwYy0uMi0yLjMtMi02LTYtNi0zLjkgMC03IDMuMi03IDcuMiAwIDQgMy4xIDcuMiA3IDcuMnM3LTMuMiA3LTcuMkMzMCA0LjggMjcuOSAyLjIgMjQgMmMtMyAwLTYgMi40LTYgNnY0eiIgZmlsbD0iIzAwNGYwYyIgb3BhY2l0eT0iMC4xIi8+PC9zdmc+');
    opacity: 0.1;
    z-index: -1;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(0, 60, 20, 0.4), rgba(1, 30, 10, 0.7));
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    color: var(--primary-yellow);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.stars {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.author {
    font-weight: bold;
    color: var(--primary-yellow);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-left: 15px;
}

.author::before {
    content: '';
    display: block;
    width: 25px;
    height: 1px;
    background: rgba(255, 215, 0, 0.3);
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding-top: 60px;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZmlsbD0iIzAwNDUxMCIgZD0iTTAgMGgxNjB2OTBIMHoiLz48cGF0aCBkPSJNNDAgMTVjOS42NjQgMCAxOC40MiAzLjkgMjUgMTAuMzJsLTUgNC4xOEM1NS44IDI1LjkgNDguNDIgMjAgNDAgMjAgMjQuNTQgMjAgMTIgMzIuNTQgMTIgNDhhMTYgMTYgMCAwIDAgMTYgMTZjMi4yIDAgNC4zNi0uNDUgNi4zNi0xLjI2bC0xMC4zLTEwLjkyIDMuMTUtMy4zIDEwLjE0IDEwLjcxYzguNTctMy41IDE0LjY1LTExLjYgMTQuNjUtMjAuNzMgMC0xMy4yNS0xMC43NS0yNC0yNC0yNHoiIGZpbGw9IiMwMDQ1MTAiLz48L2c+PC9zdmc+');
    opacity: 0.1;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 15px;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.icon-link:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.icon-link i {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.icon-link .icon-img {
    height: 50px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.copyright {
    opacity: 0.7;
}

/* Popups */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: linear-gradient(145deg, #03230e, #002008);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-yellow);
    animation: popupIn 0.4s ease forwards;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-header h2 {
    font-size: 2rem;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: var(--primary-yellow);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.popup-close:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-yellow);
    background: rgba(255, 215, 0, 0.05);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
}

.success-message {
    background: rgba(0, 156, 65, 0.2);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--primary-green);
    margin-top: 20px;
    display: none;
}

.subheader {
    background-color: var(--overlay-dark);
    padding: 16px 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    color: #f5f5f5;
}

.subheader-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    margin-top: 90px;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #ddd;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #aaa;
}

.breadcrumb .current {
    font-weight: 600;
    color: #fff;
}

@media (max-width: 992px) {
    /* .luck-wheel-animation {
        width: 350px;
        height: 350px;
        right: -100px;
    } */

    
    .luck-wheel-animation {
        position: relative;
        top: 352px;
        right: 0;
        transform: translateY(50px);
        margin: 0 auto;
        width: 500px;
        height: 500px;
    }
}
@media (orientation: landscape) and (max-width: 992px) {
    .hero-wrap {
        padding-top: 100px;
    }
    .luck-wheel-animation {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }
/* 
    .luck-wheel-animation {
        position: relative;
        top: 352px;
        right: 0;
        transform: translateY(50px);
        margin: 0 auto;
        width: 500px;
        height: 500px;
    } */

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px;
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    button, .btn {
        padding: 12px 15px;
        font-size: 0.7rem;
    }
}

@media (max-width: 680px) {
    .luck-wheel-animation {
        top: 152px;
        width: 250px;
        height: 250px;
    }
}

@media (orientation: landscape) and (max-width: 680px) {
    .hero-wrap {
        padding-top: 0;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .testimonial-cards,
    .cards {
        grid-template-columns: 1fr;
    }

    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
