:root {
    /* Dynamic Variables */
    --store-alpha-glass: rgba(255, 255, 255, 0.8);
    --store-alpha-gradient-1: linear-gradient(135deg, var(--store-alpha-brand-main), var(--store-alpha-accent));
    --store-alpha-neon-glow: 0 0 15px rgba(108, 92, 231, 0.3);

    /* Fallback colors */
    --store-alpha-brand-main: #6c5ce7;
    --store-alpha-brand-secondary: #a29bfe;
    --store-alpha-accent: #00cec9;
    --store-alpha-bg-dark: #2d3436;
    --store-alpha-text-main: #2d3436;
    --store-alpha-card-bg: #ffffff;
    --store-alpha-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --store-alpha-transition: all 0.3s ease;
    --store-alpha-success: #00b894;
}

/* Hero Section with Animation */
.store-alpha .directory-header {
    background: var(--store-alpha-bg-dark);
    background-image: radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 206, 201, 0.1) 0%, transparent 50%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.store-alpha .directory-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: store-alpha-slideUp 0.8s ease-out;
}

/* Alphabet Navigation */
.store-alpha .alpha-nav {
    position: relative;
    z-index: 100;
    background: var(--store-alpha-glass);
    backdrop-filter: blur(12px);
    padding: 15px;
    border-radius: 50px;
    margin: -40px auto 40px;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--store-alpha-shadow-lg);
    border: 1px solid rgba(255,255,255,0.3);
}

.store-alpha .alpha-link {
    text-decoration: none;
    color: var(--store-alpha-text-main);
    font-weight: 700;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--store-alpha-transition);
}

.store-alpha .alpha-link:hover,
.store-alpha .highlight{
    background: var(--store-alpha-brand-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--store-alpha-neon-glow);
}

/* Container & Sections */
.store-alpha .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* TOP Stores Section Styling */
.store-alpha .top-stores-section {
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(to right, rgba(108, 92, 231, 0.05), rgba(0, 206, 201, 0.05));
    border-radius: 24px;
    border: 1px dashed var(--store-alpha-brand-secondary);
}

.store-alpha .top-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.store-alpha .top-store-card {
    background: var(--store-alpha-card-bg);
    padding: 20px;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--store-alpha-transition);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.store-alpha .top-store-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
}

.store-alpha .top-store-card .store-name {
    font-weight: 800;
    color: var(--store-alpha-brand-main);
    font-size: 1.1rem;
    text-align: center;
}

.store-alpha .top-store-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--store-alpha-shadow-lg);
    border-color: var(--store-alpha-brand-main);
}

/* Alphabetical Store Cards - Optimized Spacing */
.store-alpha .group-title {
    font-size: 2.5rem;
    color: var(--store-alpha-brand-main);
    border-bottom: 4px solid var(--store-alpha-accent);
    display: inline-block;
    margin-bottom: 20px;
    padding-right: 20px;
    font-weight: bold;
}

.store-alpha .store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    animation: store-alpha-fadeIn 1s ease-in;
}

.store-alpha .store-card {
    background: var(--store-alpha-card-bg);
    padding: 12px 15px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--store-alpha-transition);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.store-alpha .store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--store-alpha-brand-main);
    transform: scaleY(0);
    transition: var(--store-alpha-transition);
}

.store-alpha .store-card:hover {
    background: #f8f9ff;
    border-color: var(--store-alpha-brand-secondary);
}

.store-alpha .store-card:hover::before {
    transform: scaleY(1);
}

.store-alpha .store-info .store-name {
    display: block;
    font-weight: 600;
    color: var(--store-alpha-text-main);
    font-size: 0.95rem;
}

/* Animations */
@keyframes store-alpha-slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes store-alpha-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll Progress Bar */
.store-alpha #progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: var(--store-alpha-gradient-1);
    z-index: 1001;
    width: 0%;
}

@media (max-width: 768px) {
    .store-alpha .directory-header h1 { font-size: 2rem; }
    .store-alpha .alpha-nav { border-radius: 15px; top: auto; margin: -20px 10px 20px; }
    .store-alpha .alpha-link { width: 30px; height: 30px; font-size: 0.8rem; }
    .store-alpha .top-stores-section { padding: 20px; }
    .store-alpha .top-store-grid { grid-template-columns: repeat(2, 1fr); }
    .store-alpha .store-grid { grid-template-columns: repeat(2, 1fr); }
}