/* Dashboard Styling */

body {
    background: #f5f5f5;
}

.dashboard-wrapper {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

/* Navigation User Section */
.nav-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.home-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 217, 255, 0.4);
}

.home-button svg {
    transition: transform 0.3s ease;
}

.home-button:hover svg {
    transform: translateX(-3px);
}

.user-name {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.logout-button {
    padding: 0.8rem 1.8rem;
    background: transparent;
    border: 2px solid #ff4444;
    border-radius: 50px;
    color: #ff4444;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    background: #ff4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

/* Dashboard Header */
.dashboard-header {
    text-align: center;
    margin-bottom: 4rem;
}

.dashboard-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.dashboard-title span {
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.2);
}

.stat-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    flex-shrink: 0;
}

.stat-info h3 {
    font-size: 0.95rem;
    color: var(--text-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 0;
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.purchase-button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 102, 255, 0.3);
}

.purchase-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.4);
}

/* License Grid */
.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.license-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
}

.license-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.15);
}

.license-card.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 2rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.4);
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.license-status {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.license-status.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.license-key-display {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid #e5e7eb;
}

.license-key-display label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.license-key-display .key-value {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    word-break: break-all;
}

.license-actions {
    display: flex;
    gap: 1rem;
}

.btn-copy {
    flex: 1;
    padding: 0.9rem;
    background: var(--primary-blue);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Purchase History */
.purchase-history {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.purchase-history .empty-state {
    text-align: center;
    padding: 3rem 2rem;
}

.purchase-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.purchase-item:last-child {
    border-bottom: none;
}

.purchase-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.purchase-info p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

.purchase-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-blue);
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.setting-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.setting-card:hover {
    border-color: var(--primary-blue);
}

.setting-card h3 {
    font-size: 0.95rem;
    color: var(--text-grey);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.setting-card p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Support Banner */
.support-banner {
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    padding: 3rem;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.3);
}

.support-content h3 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
}

.support-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.support-button {
    padding: 1.2rem 2.5rem;
    background: white;
    border: none;
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.support-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* FPS Info Box */
.fps-info-box {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.fps-info-icon {
    font-size: 3.5rem;
    background: rgba(255, 255, 255, 0.15);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.fps-info-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.6rem;
    z-index: 1001;
    position: relative;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Download Section */
.download-section {
    display: grid;
    gap: 2rem;
}

.download-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid #e5e7eb;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.15);
    transform: translateY(-5px);
}

.download-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    flex-shrink: 0;
}

.download-info h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.download-info p {
    font-size: 1rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.download-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.download-features li {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

.download-button {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 217, 255, 0.4);
}

.download-button svg {
    transition: transform 0.3s ease;
}

.download-button:hover svg {
    transform: translateY(3px);
}

.download-instructions {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 217, 255, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.1);
}

.download-instructions h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.download-instructions ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.download-instructions li {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-weight: 500;
}

.download-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .download-features {
        grid-template-columns: 1fr;
    }
    
    .download-button {
        justify-content: center;
    }
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-user {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-user.active {
        right: 0;
    }

    .user-name {
        font-size: 1.5rem;
        text-align: center;
    }

    .logout-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .dashboard-wrapper {
        padding: 6rem 0 2rem;
    }

    .dashboard-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .license-grid {
        grid-template-columns: 1fr;
    }

    .support-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }
}
