﻿/* 🔐 Protection Layer */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

@media print {
    body {
        display: none !important;
    }
}

/* Custom styles */
body {
    font-family: 'Staatliches', 'Lilita One', cursive;
}

.platform-btn.selected {
    border-color: #3B82F6;
    background-color: rgba(59, 130, 246, 0.1);
}

.platform-btn.selected span {
    color: #3B82F6;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.animate-marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

/* ============================================
   POKÉMON GO BACKGROUND
   ============================================ */
.pogo-bg {
    background: linear-gradient(160deg,
        #0a2340 0%,
        #0d3b6e 30%,
        #1565C0 60%,
        #0a2340 100%
    );
    overflow: hidden;
}

/* Floating Pokéballs */
.pokeball {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e53935 50%, #fff 50%);
    border: 4px solid #333;
    opacity: 0.12;
    animation: floatBall linear infinite;
}

.pokeball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #333;
    transform: translateY(-50%);
}

.pokeball::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #333;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

@keyframes floatBall {
    0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.15; }
    90%  { opacity: 0.15; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.pokeball:nth-child(1)  { left: 5%;  width: 50px; height: 50px; animation-duration: 12s; animation-delay: 0s; }
.pokeball:nth-child(2)  { left: 15%; width: 70px; height: 70px; animation-duration: 16s; animation-delay: 2s; }
.pokeball:nth-child(3)  { left: 25%; width: 40px; height: 40px; animation-duration: 10s; animation-delay: 4s; }
.pokeball:nth-child(4)  { left: 35%; width: 80px; height: 80px; animation-duration: 18s; animation-delay: 1s; }
.pokeball:nth-child(5)  { left: 45%; width: 55px; height: 55px; animation-duration: 14s; animation-delay: 3s; }
.pokeball:nth-child(6)  { left: 55%; width: 45px; height: 45px; animation-duration: 11s; animation-delay: 5s; }
.pokeball:nth-child(7)  { left: 65%; width: 65px; height: 65px; animation-duration: 15s; animation-delay: 2s; }
.pokeball:nth-child(8)  { left: 75%; width: 35px; height: 35px; animation-duration: 9s;  animation-delay: 6s; }
.pokeball:nth-child(9)  { left: 85%; width: 75px; height: 75px; animation-duration: 17s; animation-delay: 1s; }
.pokeball:nth-child(10) { left: 95%; width: 50px; height: 50px; animation-duration: 13s; animation-delay: 4s; }
.pokeball:nth-child(11) { left: 10%; width: 60px; height: 60px; animation-duration: 16s; animation-delay: 7s; }
.pokeball:nth-child(12) { left: 20%; width: 42px; height: 42px; animation-duration: 12s; animation-delay: 3s; }
.pokeball:nth-child(13) { left: 30%; width: 68px; height: 68px; animation-duration: 14s; animation-delay: 5s; }
.pokeball:nth-child(14) { left: 40%; width: 52px; height: 52px; animation-duration: 10s; animation-delay: 2s; }
.pokeball:nth-child(15) { left: 50%; width: 78px; height: 78px; animation-duration: 19s; animation-delay: 6s; }
.pokeball:nth-child(16) { left: 60%; width: 38px; height: 38px; animation-duration: 11s; animation-delay: 1s; }
.pokeball:nth-child(17) { left: 70%; width: 58px; height: 58px; animation-duration: 15s; animation-delay: 4s; }
.pokeball:nth-child(18) { left: 80%; width: 48px; height: 48px; animation-duration: 13s; animation-delay: 0s; }
.pokeball:nth-child(19) { left: 90%; width: 72px; height: 72px; animation-duration: 17s; animation-delay: 5s; }
.pokeball:nth-child(20) { left: 3%;  width: 44px; height: 44px; animation-duration: 12s; animation-delay: 3s; }

/* Stars */
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    display: block;
    background: transparent;
    z-index: -1;
}

.stars  { z-index: 0; background-size: 1000px 1000px; animation: move-stars 50s linear infinite; }
.stars2 { z-index: 1; background-size: 1500px 1500px; animation: move-stars 100s linear infinite; }
.stars3 { z-index: 2; background-size: 2000px 2000px; animation: move-stars 150s linear infinite; }

@keyframes move-stars {
    from { background-position: 0 0; }
    to   { background-position: -10000px 5000px; }
}

/* Custom Bounce */
@keyframes bounce-custom {
    0%, 100% { transform: translateY(-5%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50%       { transform: translateY(5%);  animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.animate-bounce-custom { animation: bounce-custom 2s infinite; }

/* Text Stroke */
.stroke-black {
    -webkit-text-stroke: 1.5px black;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ============================================
   POKÉMON GO CARD STYLES
   ============================================ */
.gem-option {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.gem-option:hover {
    background: rgba(59, 130, 246, 0.25) !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.15);
    transform: scale(1.06);
}

.gem-option .item-label {
    color: #e0f2fe;
}

.gem-option:hover .item-label {
    color: #60A5FA;
}

/* ============================================
   POKÉMON GO TITLE GLOW
   ============================================ */
.pogo-title {
    background: linear-gradient(180deg, #FFDE00 0%, #E8B800 50%, #FF6B00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(255, 210, 0, 0.6));
    -webkit-text-stroke: 1.5px #B8860B;
}

/* Sticky Footer */
footer {
    position: sticky;
    bottom: 0;
    z-index: 50;
    box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1), 0 -2px 4px -1px rgba(0,0,0,0.06);
}

.banner-container {
    width: 320px;
    height: 50px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 360px) {
    .banner-container { transform: scale(0.9); }
}

/* TikTok Popup */
#ios-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
}

.popup-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
}

.popup {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #0d3b6e 0%, #1565C0 100%);
    border: 3px solid #FFDE00;
    border-radius: 20px;
    padding: 30px 20px;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 10px 40px rgba(255, 222, 0, 0.3);
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from { transform: translate(-50%, -60%); opacity: 0; }
    to   { transform: translate(-50%, -50%); opacity: 1; }
}

.gif-container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 222, 0, 0.3);
}

.instruction-gif { width: 100%; height: auto; display: block; }

.instruction-text {
    font-family: 'Lilita One', cursive;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 480px) {
    .popup { width: 85%; padding: 25px 15px; }
    .instruction-text { font-size: 16px; }
}