/* CSS Variables */
:root {
    --primary-bg: #f0f2f5;
    --secondary-bg: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --accent: #3498db;
    --accent-hover: #2980b9;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --border: #e1e8ed;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --inner-shadow: inset 8px 8px 16px rgba(0, 0, 0, 0.1), inset -8px -8px 16px rgba(255, 255, 255, 0.8);
    --outer-shadow: 8px 8px 16px rgba(0, 0, 0, 0.1), -8px -8px 16px rgba(255, 255, 255, 0.8);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-bg: #1a1a1a;
    --secondary-bg: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #4a9eff;
    --accent-hover: #357abd;
    --border: #404040;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --inner-shadow: inset 8px 8px 16px rgba(0, 0, 0, 0.3), inset -8px -8px 16px rgba(255, 255, 255, 0.05);
    --outer-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit", sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: all 0.3s ease;
}

/* Background Elements */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.blob1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #45b7d1, #96ceb4);
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.blob3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #f9ca24, #f0932b);
    bottom: 10%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* Background Icons */
.background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-icons {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatIcons 15s infinite ease-in-out;
}

.floating-icons:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icons:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: -2s;
}

.floating-icons:nth-child(3) {
    top: 40%;
    left: 10%;
    animation-delay: -4s;
}

.floating-icons:nth-child(4) {
    top: 60%;
    right: 15%;
    animation-delay: -6s;
}

.floating-icons:nth-child(5) {
    bottom: 30%;
    left: 20%;
    animation-delay: -8s;
}

.floating-icons:nth-child(6) {
    bottom: 20%;
    right: 25%;
    animation-delay: -10s;
}

.floating-icons:nth-child(7) {
    bottom: 40%;
    left: 50%;
    animation-delay: -12s;
}

.floating-icons:nth-child(8) {
    top: 30%;
    left: 60%;
    animation-delay: -14s;
}

@keyframes floatIcons {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--secondary-bg);
    box-shadow: var(--outer-shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.theme-toggle:active {
    transform: scale(0.95);
    box-shadow: var(--inner-shadow);
}

/* Main Container */
.account-required-container {
    margin-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-card {
    background: var(--secondary-bg);
    border-radius: 24px;
    box-shadow: var(--outer-shadow);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-section {
    margin-bottom: 2rem;
}

.logo-section img {
    height: 100px;
    width: 100px ;
}

/* .logo {
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
} */

/* Icon Section */
.icon-section {
    margin-bottom: 2rem;
}

.lock-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary-bg);
    box-shadow: var(--inner-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

.lock-icon i {
    font-size: 2rem;
    color: var(--accent);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Message Section */
.message-section {
    margin-bottom: 2.5rem;
}

.main-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.main-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.sub-message {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-primary);
    box-shadow: var(--outer-shadow);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.divider span {
    background: var(--secondary-bg);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Alternative Section */
.alternative-section {
    margin-bottom: 2rem;
}

.alternative-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Features Preview */
.features-preview {
    text-align: left;
    background: var(--primary-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--inner-shadow);
}

.features-preview h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.features-list {
    display: grid;
    gap: 0.8rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-item .feature-item-icon {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-required-container {
        padding: 1rem;
    }

    .content-card {
        padding: 2rem;
    }

    .logo {
        font-size: 2rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .theme-toggle {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .lock-icon {
        width: 60px;
        height: 60px;
    }

    .lock-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-card {
        padding: 1.5rem;
    }

    .logo {
        font-size: 1.8rem;
    }

    .main-title {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.theme-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        --border: #000000;
    }

    body.dark-mode {
        --border: #ffffff;
    }
}