/* =========================================================================
   TurboAngle Network - Modern Dark Theme Stylesheet
   ========================================================================= */

/* Color Palette & Variables */
:root {
    --bg-color: #121212;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent-blue: #3498db;
    --accent-purple: #9b59b6;
    --card-bg: #1e1e1e;
    --discord-color: #5865f2;
    --map-color: #2ecc71;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* -------------------------------------------
   Header Styles
   ------------------------------------------- */
.header {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* Icon Setup (Smooth rounded corners with shadow) */
.logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    background-color: #2a2a2a; /* Placeholder color before image loads */
}

/* Gradient Text for Main Title */
h1 {
    font-size: 2.8rem;
    background: linear-gradient(
        135deg,
        var(--accent-blue),
        var(--accent-purple)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* IP Display Box */
.ip-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.ip-box code {
    color: var(--accent-blue);
    font-weight: 700;
    font-family: monospace;
    margin-left: 5px;
}

/* -------------------------------------------
   Section Typography
   ------------------------------------------- */
section {
    text-align: center;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 3px;
    background: var(--accent-blue);
    bottom: -8px;
    left: 30%;
    border-radius: 2px;
}

/* -------------------------------------------
   Update Card Styles
   ------------------------------------------- */
.card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: linear-gradient(
        135deg,
        var(--accent-blue),
        var(--accent-purple)
    );
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(155, 89, 182, 0.3);
}

.card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.4rem;
}

.update-text {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.update-text code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.95em;
}

/* -------------------------------------------
   Action Buttons
   ------------------------------------------- */
.actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-map {
    background-color: var(--map-color);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.btn-map:hover {
    background-color: #27ae60;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

.btn-discord {
    background-color: var(--discord-color);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.btn-discord:hover {
    background-color: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

/* -------------------------------------------
   Footer Styles
   ------------------------------------------- */
footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Simple Entrance Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
