:root {
    --bg-dark: #050510;
    --bg-panel: rgba(20, 20, 35, 0.6);
    --bg-card: rgba(30, 30, 50, 0.4);
    --primary: #00f2ff;
    --secondary: #ff0099;
    --text-main: #ffffff;
    --text-muted: #a0a0c0;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glow-primary: 0 0 15px rgba(0, 242, 255, 0.5);
    --glow-secondary: 0 0 15px rgba(255, 0, 153, 0.5);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 153, 0.1) 0%, transparent 20%);
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Top Bar */
.top-bar {
    height: 40px;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 0.9rem;
    z-index: 100;
}

.social-icons a {
    color: var(--text-muted);
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--secondary);
    text-shadow: var(--glow-secondary);
}

/* Main Container */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

/* Header */
.site-header {
    padding: 40px 0;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.logo-container {
    display: inline-block;
    position: relative;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(90deg, #fff, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
    margin-bottom: 10px;
}

.site-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* App Bar / Grid */
.app-bar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.app-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    group: isolation;
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                inset 0 0 20px rgba(0, 242, 255, 0.05);
}

.app-card:hover::before {
    opacity: 1;
}

.app-thumb {
    height: 180px;
    background: #111;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.app-card:hover .app-thumb img {
    transform: scale(1.1);
}

.app-thumb-placeholder {
    font-size: 3rem;
    color: var(--text-muted);
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-content {
    padding: 20px;
}

.app-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.app-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-launch {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-launch:hover {
    background: var(--primary);
    color: #000;
    box-shadow: var(--glow-primary);
}

/* Footer */
.site-footer {
    background: rgba(5, 5, 16, 0.9);
    border-top: var(--glass-border);
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.glow-text {
    animation: float 6s ease-in-out infinite;
}
