@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro');

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

:root {
    --carbon-black: #191d2b;
}

body {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    background: url('../assets/CoinLeft.svg') no-repeat 0 0,
                url('../assets/CoinRight.svg') no-repeat 100% 75%,
                url('../assets/Details.png') no-repeat 50%/cover,
                url('../assets/Pattern.png') no-repeat 50%/cover,
                url('../assets/Stars.png') no-repeat 50%,
                url('../assets/Vector.png') no-repeat 50%/cover,
                linear-gradient(180deg, #191d2b -10.34%, #0b0e1e 101.32%);
    background-blend-mode: normal, normal, screen, normal, normal, overlay;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Mobile Frame */
.mobile-frame {
    width: 100%;
    max-width: 640px;
    height: calc(100vh - 40px);
    max-height: 1188px;
    background-color: #191d2b;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-snap {
    color: #1a237e;
    font-weight: 700;
}

.logo-arrow {
    color: #daa520;
    font-size: 20px;
}

.logo-chance {
    color: #fff;
    font-weight: 700;
}

.menu-icon {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
}

.menu-icon span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Main content box */
.content-box {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 40px;
    color: #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.content-box h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.content-box h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.content-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.content-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.content-box ul, .content-box ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #333;
}

.content-box li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.golden-text {
    background: #f6e795;
    background: linear-gradient(0deg, #f6e795 6%, #daa520 50%, #f6e795 94%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(180deg, #fcd669 -2.93%, #da9420 30.33%, #da9420 50.23%, #f2ba32 85.45%);
    color: #1a1a1a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.btn-secondary:hover {
    background: #ffd700;
    color: #1a1a1a;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Photo selection */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.photo-item:hover {
    transform: scale(1.05);
    border-color: #ffd700;
}

.photo-item.selected {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Result page */
.result-box {
    text-align: center;
    padding: 40px;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.result-winner {
    color: #ffd700;
}

.result-loser {
    color: #999;
}

.snap-number {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.8);
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Navigation */
.nav-link {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ffd700;
}

/* Hidden class */
.hidden {
    display: none;
}

/* Banner */
.banner {
    background: transparent;
    border-radius: 15px;
    padding: 20px 0;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
}

.banner .prize-amount {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 15px 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.banner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Play cards slider */
.play-cards-wrapper {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    width: 100%;
}

.play-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 0 10%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.play-cards::-webkit-scrollbar {
    display: none;
}

.play-card {
    background: #262c43;
    border: 2px solid #daa520;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    min-height: 400px;
    width: 320px;
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
    filter: blur(3px);
    transform: scale(0.95);
}

/* Center card - fully visible and active */
.play-card.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    z-index: 2;
}

.play-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.play-card-content {
    flex: 1;
}

.play-card-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.play-card-title .golden-text {
    font-weight: 700;
}

.play-card-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.play-card-button {
    background: #8B733F;
    color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: 10px;
}

.play-card-button:hover {
    background: #9d8451;
    transform: translateY(-2px);
}

.play-card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.play-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
}

.play-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.play-card-image-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 5px;
}

.play-card-image-text.golden {
    background: linear-gradient(0deg, #f6e795 6%, #daa520 50%, #f6e795 94%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
}

.play-card-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #fcd669 -2.93%, #da9420 30.33%, #da9420 50.23%, #f2ba32 85.45%);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    transition: all 0.3s;
}

.play-card-nav-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.play-card-nav-button.left {
    left: 5px;
}

.play-card-nav-button.right {
    right: 5px;
}

@media (max-width: 480px) {
    .play-card-nav-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .play-card-nav-button.left {
        left: 3px;
    }

    .play-card-nav-button.right {
        right: 3px;
    }
}

/* Slider navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #daa520;
    width: 24px;
    border-radius: 4px;
}

/* Alert messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: #4caf50;
    color: #fff;
}

.alert-error {
    background: #f44336;
    color: #fff;
}

.alert-info {
    background: #2196f3;
    color: #fff;
}

/* Link styles */
.link {
    color: #ffa500;
    text-decoration: underline;
    cursor: pointer;
}

.link:hover {
    color: #ffd700;
}

/* Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 400px;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    padding: 40px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.menu-panel.active {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-links {
    list-style: none;
    margin-top: 40px;
}

.menu-links li {
    margin-bottom: 20px;
}

.menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    transition: color 0.3s;
}

.menu-links a:hover {
    color: #daa520;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .mobile-frame {
        height: 100%;
        border-radius: 0;
    }

    body {
        padding: 0px;
    }
}
