/* shadygiveaway/assets/style.css */
:root {
    --bg-dark: #0a0a0f;
    --accent: #ff4757;
    --accent-hover: #ff6b6b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* Background Blobs */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #ff4757;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: #5f27cd;
}

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

header {
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 3.5rem;
    margin-top: 20px;
    background: linear-gradient(135deg, #fff, #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0;
}

/* Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* Glass Panels */
.games-section, .action-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.game-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
}

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

.game-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.game-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-steam-store {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #66c0f4;
    border: 1px solid #66c0f4;
    width: 100%;
}

.btn-steam-store:hover {
    background: #66c0f4;
    color: #1b2838;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ff6b6b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

.btn-spin {
    background: linear-gradient(135deg, #feca57, #ff9f43);
    color: #222;
    font-size: 1.2rem;
    padding: 15px 40px;
    width: 100%;
    margin-top: 30px;
}

.btn-spin:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-spin:not(:disabled):hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(254, 202, 87, 0.5);
}

.btn-logout {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    margin-left: 10px;
}

/* Auth / Verify */
.auth-box {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.auth-box .note {
    font-size: 0.9rem;
    color: #feca57;
    margin: 10px 0;
}

.verify-controls {
    margin-top: 20px;
}

.verify-controls.success {
    color: #1dd1a1;
    font-weight: bold;
}

.status-msg {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Wheel */
.wheel-container {
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.wheel-container.active {
    opacity: 1;
}

.wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transition: transform cubic-bezier(0.17, 0.67, 0.12, 0.99) 5s;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: linear-gradient(135deg, #1e1e24, #2a2a35);
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
    max-width: 500px;
    width: 90%;
    transform: scale(1);
    transition: transform 0.3s;
}

.modal.hidden .modal-content {
    transform: scale(0.9);
}

.prize-text {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin: 20px 0;
    color: #feca57;
    text-shadow: 0 0 20px rgba(254, 202, 87, 0.4);
}
