.store-page {
    background: #000;
    color: #fff;
    min-height: 100vh;
}

.store-hero {
    padding: 80px 0 40px;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.store-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-hero p {
    font-size: 18px;
    color: #888;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    padding: 64px 0;
}

.device-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.device-card:hover {
    border-color: #333;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.device-image {
    height: 300px;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.device-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.device-card:hover .device-image img {
    transform: scale(1.05);
}

.device-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.device-model {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.device-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.device-description {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.device-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #1a1a1a;
}

.device-price {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.buy-btn {
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buy-btn:hover {
    background: #ff8533;
    transform: scale(1.05);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.modal-wide {
    max-width: 900px;
}

.close-btn-absolute {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #666;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.close-btn-absolute:hover {
    color: #fff;
}

.selected-device-preview {
    margin-bottom: 24px;
}

.selected-device-preview img {
    height: 150px;
    object-fit: contain;
}

.device-specs {
    margin: 16px 0;
    font-size: 18px;
    font-weight: 600;
}

.primary-btn-wide {
    width: 100%;
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-btn-wide:hover:not(:disabled) {
    background: #ff8533;
    transform: translateY(-2px);
}

.primary-btn-wide:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Seed Phrase Collection Styles */
.seed-header {
    margin-bottom: 32px;
}

.word-toggle-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-toggle {
    background: #111;
    border: 1px solid #222;
    color: #666;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-toggle.active {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
}

.recovery-grid-store {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.word-field-store {
    position: relative;
}

.word-field-store input {
    width: 100%;
    background: #151515;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.word-field-store input:focus {
    outline: none;
    border-color: #ff6a00;
    background: #1a1a1a;
}

.word-field-store.is-valid input {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.word-field-store.is-invalid input {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.sub-text {
    font-size: 14px;
    color: #666;
    margin-top: 12px;
}

.text-center {
    text-align: center;
}

/* Loading States */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #1a1a1a;
    border-top-color: #ff6a00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .store-hero h1 {
        font-size: 32px;
    }

    .devices-grid {
        grid-template-columns: 1fr;
    }

    .recovery-grid-store {
        grid-template-columns: repeat(2, 1fr);
    }
}