@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #0b0f19;
    --bg-card: #151d30;
    --bg-card-glass: rgba(21, 29, 48, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-red: #f43f5e;
    --primary-red-glow: rgba(244, 63, 94, 0.25);
    --warning-yellow: #f59e0b;
    --warning-yellow-glow: rgba(245, 158, 11, 0.15);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success-green: #10b981;
    --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(244, 63, 94, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    font-size: 1rem;
}

/* Header & Nav */
header {
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo-badge {
    background-color: var(--primary-red);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-menu a.active {
    border-left: 2px solid var(--primary-red);
    border-radius: 0 6px 6px 0;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #151d30 0%, #1e1b4b 100%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--warning-yellow));
}

.hero-section h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Alert Banner */
.alert-banner {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(244, 63, 94, 0.3);
    padding: 1.5rem;
    margin-bottom: 3rem;
    border-radius: 12px;
    font-weight: 500;
    color: #fda4af;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(244, 63, 94, 0.05);
}

.alert-icon {
    font-size: 1.5rem;
    animation: shake 2.5s infinite;
}

/* Cards */
.card {
    background-color: var(--bg-card-glass);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

h2 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
    margin-left: 1rem;
}

h3 {
    font-family: 'Outfit', sans-serif;
    color: #e2e8f0;
    margin: 2.5rem 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

li strong {
    color: var(--text-main);
}

/* Buttons */
.btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 20px var(--primary-red-glow);
}

.btn-primary:hover {
    background-color: #fb7185;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(244, 63, 94, 0.4);
}

.btn-secondary {
    background-color: #1e293b;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #334155;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Copy Box and Social Tabs */
.tab-container {
    margin-top: 2rem;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background-color: var(--primary-red-glow);
    color: #fda4af;
    border-color: var(--primary-red);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.copy-box-wrapper {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: #090d16;
    overflow: hidden;
    margin: 1.5rem 0;
}

.copy-box-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--warning-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

.profile-info {
    line-height: 1.2;
}

.profile-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.profile-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.copy-box {
    padding: 1.5rem;
    font-family: 'SFMono-Regular', Consolas, Monaco, monospace;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.copy-btn {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background-color: #fb7185;
    transform: scale(1.02);
}

.copy-btn.copied {
    background-color: var(--success-green);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 1rem 0;
    margin: 2.5rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #1e293b;
    border: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 0 10px var(--primary-red-glow);
}

.timeline-item.warning .timeline-badge {
    border-color: var(--warning-yellow);
    box-shadow: 0 0 10px var(--warning-yellow-glow);
}

.timeline-item.danger .timeline-badge {
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.timeline-time {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.timeline-content:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.timeline-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* Badge labels */
.label-red {
    display: inline-flex;
    align-items: center;
    background-color: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #fda4af;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-yellow {
    display: inline-flex;
    align-items: center;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fde047;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid layout for Links */
.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.link-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.link-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.04);
}

.link-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.link-card ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 0;
}

.link-card li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.link-card a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.link-card a:hover {
    text-decoration: underline;
    color: #fb7185;
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(11, 15, 25, 0.5);
    margin-top: 5rem;
}

/* Keyframes */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
    }
    50% {
        opacity: 0.85;
        box-shadow: 0 0 0 8px rgba(244, 63, 94, 0);
    }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-5deg); }
    20%, 40%, 60%, 80% { transform: rotate(5deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    .nav-menu a {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    .container {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    .hero-section {
        padding: 3rem 1rem;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn-grid, .links-grid {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 1.75rem 1.25rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-badge {
        left: 0;
        top: 4px;
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}
