/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
}

/* ========================================
   AD CANVAS PAGE (index.html)
   ======================================== */

.canvas {
    width: 320px;
    height: 480px;
    background: #000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

/* Image section - takes most of the space */
.image-section {
    flex: 1;
    overflow: hidden;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Info section below image */
.info-section {
    background: #000;
    padding: 16px 20px 20px;
    text-align: center;
}

.store-info {
    margin-bottom: 16px;
}

.store-intro {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.store-name {
    color: #FFD700;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.store-distance-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.distance-dot {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
}

.store-distance {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
}

/* CTA Button */
.cta-button {
    display: block;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, background 0.2s;
}

.cta-button:hover {
    transform: scale(1.02);
    background: #FFDF00;
}

.cta-button:active {
    transform: scale(0.98);
}

/* ========================================
   LOCATIONS PAGE (locations.html)
   ======================================== */

.locations-page {
    background: transparent;
    min-height: auto;
    padding: 0;
}

.locations-canvas {
    width: 320px;
    height: 480px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.locations-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.locations-header h1 {
    color: #FFD700;
    font-size: 13px;
    font-weight: 600;
}

.locations-main {
    padding: 12px;
}

.location-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 14px;
    text-align: center;
}

.status-icon {
    font-size: 32px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.status-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.stores-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(3px);
}

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

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

.store-card-name {
    color: #FFD700;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.store-card-distance {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
}

.store-card-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    transition: transform 0.2s, color 0.2s;
}

.store-card:hover .store-card-arrow {
    color: #FFD700;
    transform: translateX(3px);
}