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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    line-height: 1.6;
}

/* Trust Bar */
/* Trust Bar */
.trust-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid #6f62c1;
    padding: 12px 10px;
    overflow: hidden;
    position: relative;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: wheat;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.scrolling-message {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    color: wheat;
    font-size: 0.9rem;
    font-weight: 500;
}

.scrolling-message span {
    padding-right: 100px;
}
.scrolling-message a{
    color: #0099ff;
}

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

/* Header */
header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
    text-align: center;
    top: 0;
    z-index: 100;
}

.logo-section h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 700;
}

.logo-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}
.logo-icon img{
    width: 150px;
    height: 150px;
    border-radius: 5%;
    
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-section p {
    color: #a0a0c0;
    font-size: 0.95rem;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 15px;
}

/* Search Section */
.search-section {
    margin-bottom: 35px;
    text-align: center;
}

.search-section h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #fff;
}

.search-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Section Title */
.section-header {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #fff;
}

.section-subtitle {
    color: #a0a0c0;
    font-size: 0.95rem;
}

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

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%; /* helps make sure button stays at bottom */
}

.game-card:active {
    transform: scale(0.98);
}

.game-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #1a1a2e;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 200, 100, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* take remaining height */
        
}

.game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.game-description {
    color: #a0a0c0;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.game-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #a0a0c0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-platforms {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.platform-badge {
    padding: 6px 8px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    font-size: 0.6rem;
    color: #a0c4ff;
}

.game-actions {
    position: relative;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: auto; /* pushes it to bottom */

}

.install-btn {
    width: 90%;
    padding: 7px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
   
}

.install-btn:active {
    transform: scale(0.95);
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    padding: 40px 25px;
    margin: 50px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.how-it-works h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.how-it-works > p {
    color: #b8b8d0;
    margin-bottom: 35px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.step-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.step-item:hover::before {
    opacity: 1;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.step-item:hover .step-icon {
    transform: scale(1.2) rotate(5deg);
}

.step-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.step-item p {
    color: #b8b8d0;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.tutorial-note {
    margin-top: 35px;
    padding: 18px 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.tutorial-note:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translateX(5px);
}

.tutorial-note p {
    margin: 0;
    font-size: 1rem;
    color: wheat;
    font-weight: 500;
}

.tutorial-note a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.tutorial-note a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.tutorial-note a:hover {
    color: #8a7fd4;
}

.tutorial-note a:hover::after {
    width: 100%;
}

/* Tablet styles */
@media (min-width: 600px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .how-it-works {
        padding: 50px 30px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .how-it-works {
        padding: 60px 40px;
    }
    
    .how-it-works h2 {
        font-size: 2.3rem;
    }
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 15px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-section h3 {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1rem;
}



.footer-section a:active {
    color: #667eea;
}

.footer-section p {
    color: #a0a0c0;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0c0;
    font-size: 0.85rem;
}

/* Mobile styles */
@media (max-width: 599px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Tablet styles */
@media (min-width: 600px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .game-image-container {
        height: 220px;
    }

    .search-container {
        max-width: 600px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .container {
        padding: 40px 20px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .game-image-container {
        height: 240px;
    }

    .game-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
        border-color: rgba(102, 126, 234, 0.5);
    }

    .game-card:hover .game-image {
        transform: scale(1.05);
    }

    .game-image {
        transition: transform 0.3s ease;
    }

    .install-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .security-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .search-container {
        max-width: 700px;
    }
}


/* pop up style */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 999;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1000;
    animation: slideUp 0.4s ease-out;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .popup-container {
        width: 500px;
    }
}

.popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e0e0e0;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
}

.close-btn:hover {
    background: #d0d0d0;
    transform: rotate(90deg);
}

.popup-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.popup-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.offer-details {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    border-radius: 15px;
    padding: 25px 20px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.offer-details p {
    color: white;
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.6;
}

.offer-details strong {
    font-weight: 800;
    font-size: 18px;
}

.gift-card-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.gift-card-icon {
    font-size: 50px;
}

.gift-card-text {
    text-align: left;
}

.gift-card-amount {
    font-size: 28px;
    font-weight: 900;
    color: white;
}

.gift-card-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 153, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.5);
}

.cta-button:active {
    transform: translateY(0);
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff3366 0%, #ff6b9d 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 20px;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.counter {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.counter strong {
    color: #ff3366;
    font-weight: 800;
}

@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
    }

    .popup-title {
        font-size: 26px;
    }

    .popup-icon {
        font-size: 60px;
    }

    .gift-card-amount {
        font-size: 24px;
    }
}