/*
Theme Name: GambleStar Wheel
Author: Alfataks
Version: 1.0
Text Domain: gamblestar
*/

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

body {
    font-family: "Arial", sans-serif;
    background: url(img/bg.webp);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* Header */
header {
    position: relative;
    z-index: 100;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.login-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.login-btn:hover {
    background: white;
    color: #1a0b2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Main Content */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 100px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 0px);
}

.left-content {
    flex: 1;
    padding-right: 50px;
}

.main-title {
    color: white;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
    letter-spacing: -2px;
}

.subtitle {
    color: white;
    font-size: 24px;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1px;
}

.offer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 450px;
}

.email-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 50px;
    padding: 20px 30px;
    font-size: 16px;
    color: white;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    width: 520px;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.email-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.send-btn {
    background: white;
    border: none;
    border-radius: 50px;
    padding: 20px 30px;
    width: 520px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 900;
    color: #7c3aed;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.send-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0e6ff 100%);
}

.send-btn:active {
    transform: translateY(-2px);
}

/* Wheel Section */
.wheel-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wheel-wrapper {
    position: relative;
    width: 560px;
    height: 560px;
    animation: float 6s ease-in-out infinite;
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    box-shadow:
        0 0 50px rgb(248 214 28 / 60%),
        0 0 100px rgb(204 120 12 / 40%),
        inset 0 0 50px rgb(0 0 0 / 30%);
    background: url(img/wheel-1.png);
    background-position: center;
    background-size: cover;
    z-index: 998;
}

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




.wheel-pointer {
    position: absolute;
    top: -50px;
    left: 50%;
    height: 139px;
    width: 136px;
    transform: translateX(-50%);
    z-index: 999;
    background: url(img/caret.png);
    background-size: cover;
}

.wheel-center {
    position: absolute;
    background: url(img/button.png);
    background-size: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
}

.wheel-center:hover {
    transform: translate(-50%, -50%) scale(1.1);
}


.jackpot {
    width: 700px;
    height: 275px;
    background: url(img/jackpot.png);
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999999;
    transform: translate(-50%, -50%);
}

.coins {
    background: url(img/coins2.png);
    background-size: contain;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 9999;
    top: -100%;
    
}

.coins-1 {
    background: url(img/coins1.png);
    background-size: contain;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 9999;
    top: -100%;
    
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        padding: 30px 50px;
        text-align: center;
    }

    .left-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .main-title {
        font-size: 56px;
    }

    .email-form {
        margin: 0 auto;
    }

    .wheel-wrapper {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .main-title {
        font-size: 42px;
    }

    .subtitle {
        font-size: 20px;
    }

    .wheel-wrapper {
        width: 320px;
        height: 320px;
    }

    .wheel-center {
        width: 120px;
        height: 120px;
        font-size: 28px;
    }

    .container {
		padding: 20px;
		padding-top: 100px;
	}
	.email-input {
		width: 90%;
	}
	.send-btn {
		width: 90%;
	}
	.jackpot {
		width: 100%;
		height: 275px;
		background-size: contain;
		background-repeat: no-repeat;
		top: 70%;
	}
	.wheel-pointer {
		
		height: 100px;
		width: 100px;
	}
}


@keyframes fall {
    0% {
        top: -120%;
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    10% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        top: 120%;
        opacity: 0;
        transform: translateY(0) scale(1);
    }
}

.animate .coins {
    animation: fall 2s ease-in;
}
.animate .coins-1 {
    animation: fall 3s ease-in;
}
