:root {
    --bg-color: #0b0114;
    --sidebar-bg: rgba(20, 5, 35, 0.9);
    --accent-purple: #bd00ff;
    --accent-pink: #9d00ff;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-shadow: 0 0 10px rgba(189, 0, 255, 0.5), 0 0 20px rgba(157, 0, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.identity-theme {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text, .soon-badge {
    font-family: 'Outfit', sans-serif;
}

#app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
#global-header {
    height: 70px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
}

.header-center {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-pink);
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-app {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-pink));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent-purple);
}

.btn-app {
    background: rgba(189, 0, 255, 0.1);
    color: var(--accent-pink);
    border: 1px solid rgba(189, 0, 255, 0.3);
    width: 100%;
    margin-top: 20px;
}

.btn-app:hover {
    background: rgba(189, 0, 255, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: var(--neon-shadow);
}

/* Main Content */
#content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top center, #1a052e, #0b0114);
}

/* Hero Section */
.hero-section {
    padding: 80px 20px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Apps Section */
.apps-section {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.app-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Cards */
.app-card {
    position: relative;
    background: rgba(20, 5, 35, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: row;
    height: 250px;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--neon-shadow);
    border-color: rgba(189, 0, 255, 0.3);
}

.app-card.soon {
    opacity: 0.8;
}

.app-card.soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--glass-border);
}

.app-image {
    width: 400px;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s;
}

.app-card:hover .app-image img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 5, 35, 1), rgba(11, 1, 20, 1));
}

.placeholder-img span {
    font-size: 2rem;
    color: var(--glass-border);
    letter-spacing: 2px;
}

.soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff007b, var(--accent-pink));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(255, 0, 123, 0.4);
}

.app-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-info h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.app-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .app-card {
        flex-direction: column;
        height: auto;
    }
    
    .app-image {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
}

@media (max-width: 768px) {
    #global-header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}
