:root {

    --bg: #0b0d12;

    --text: #ffffff;

    --accent: #ff3d3d;

    --accent-light: #ff6b6b;

    --accent-gold: #ffd700;

    --glass: rgba(255, 255, 255, 0.10);

    --glass-dark: rgba(0, 0, 0, 0.3);

    --christmas-red: #c41e3a;

    --christmas-green: #2e8b57;

}



* {

    box-sizing: border-box;

}



body {

    margin: 0;

    background: var(--bg);

    color: var(--text);

    font-family: "Oxanium", sans-serif;

    overflow-x: hidden;

}



/* BACKGROUND */

#bg {

    position: fixed;

    inset: 0;

    z-index: -1;

    background: url('/assets/back.avif') 

        center/cover no-repeat;

    filter: brightness(0.5) blur(2px);

}



/* NINSOARE */

.snowflake {

    position: fixed;

    top: -10px;

    user-select: none;

    pointer-events: none;

    z-index: 9999;

    font-size: 14px;

    animation-name: snowfall;

    animation-timing-function: linear;

    animation-iteration-count: infinite;

}

@keyframes snowfall {

    0% { transform: translateY(0) rotate(0deg); opacity: 1; }

    100% { transform: translateY(100vh) rotate(360deg); opacity: 0.2; }

}



/* MOS CRĂCIUN */

#mosCraciun {

    position: fixed;

    bottom: 20px;

    left: -220px;

    width: 180px;

    z-index: 2000;

    animation: santaWalk 14s linear infinite;

    filter: drop-shadow(0 0 10px rgba(255, 61, 61, 0.7));

}

@keyframes santaWalk {

    0% { left: -220px; }

    50% { left: calc(100% - 180px); }

    100% { left: -220px; }

}



/* NAVBAR */

nav {

    background: rgba(0,0,0,0.55);

    backdrop-filter: blur(6px);

    padding: 15px 40px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,0.15);

    position: relative;

    z-index: 1000;

}

nav .logo {

    font-size: 2rem;

    font-weight: 700;

    color: var(--accent);

    text-shadow: 0 0 10px #ff3d3d, 0 0 20px #ff0000, 0 0 30px #ff0000;

    animation: pulse 2s infinite;

    display: flex;

    align-items: center;

    gap: 10px;

}

nav .logo i {

    color: var(--accent-gold);

    text-shadow: 0 0 10px #ffd700;

}

@keyframes pulse {

    0%, 100% { text-shadow: 0 0 10px #ff3d3d, 0 0 20px #ff0000, 0 0 30px #ff0000; }

    50% { text-shadow: 0 0 20px #ff3d3d, 0 0 30px #ff0000, 0 0 40px #ff0000; }

}



.nav-links {

    display: flex;

    align-items: center;

}



.nav-links a {

    color: #fff;

    font-size: 1.2rem;

    margin-left: 20px;

    text-decoration: none;

    padding: 8px 16px;

    border-radius: 6px;

    transition: 0.3s;

    display: flex;

    align-items: center;

    gap: 8px;

}

.nav-links a:hover {

    background: var(--accent);

    box-shadow: 0 0 8px #ff3d3d, 0 0 16px #ff0000;

    transform: translateY(-2px);

}



/* HAMBURGER MENU */

.nav-toggle {

    display: none;

    background: transparent;

    border: none;

    color: white;

    font-size: 1.8rem;

    cursor: pointer;

    padding: 5px 10px;

}



/* HERO */

header {

    text-align: center;

    padding: 100px 20px;

    position: relative;

}

header::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.7) 100%);

    z-index: -1;

}

header h1 {

    font-size: 4rem;

    background: linear-gradient(90deg, #ff3d3d, #ff8c00, #ffd700, #ff8c00, #ff3d3d);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: gradientShift 5s infinite linear;

    text-shadow: 0 0 10px rgba(255, 61, 61, 0.5);

    background-size: 200% auto;

    margin: 0 0 20px 0;

}

@keyframes gradientShift {

    0% { background-position: 0% 50%; }

    100% { background-position: 100% 50%; }

}

header p {

    font-size: 1.3rem;

    margin: 0 0 30px 0;

}

#countdown {

    font-size: 2rem;

    margin-top: 20px;

    color: var(--accent);

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

}

.countdown-item {

    background: var(--glass);

    padding: 10px 20px;

    border-radius: 10px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    min-width: 100px;

}

.countdown-number {

    font-size: 2.5rem;

    font-weight: bold;

    color: var(--accent-gold);

    display: block;

}

.countdown-label {

    font-size: 1rem;

    color: #ccc;

}



/* SERVER BOX */

section {

    padding: 50px 20px;

    text-align: center;

}

.section-title {

    font-size: 2.5rem;

    margin-bottom: 40px;

    color: var(--accent);

    text-shadow: 0 0 10px rgba(255, 61, 61, 0.5);

    position: relative;

    display: inline-block;

}

.section-title::after {

    content: "";

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 100px;

    height: 3px;

    background: linear-gradient(90deg, transparent, var(--accent), transparent);

}

.servers {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 25px;

}

.server-box {

    width: 300px;

    background: var(--glass);

    padding: 20px;

    border-radius: 15px;

    backdrop-filter: blur(7px);

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow: 0 0 20px rgba(255,0,0,0.2);

    transition: 0.3s;

    position: relative;

    overflow: hidden;

}

.server-box::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 4px;

    background: linear-gradient(90deg, var(--christmas-red), var(--christmas-green), var(--accent-gold));

}

.server-box:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 25px rgba(255, 61, 61, 0.4);

}

.server-box h3 {

    margin-top: 0;

    color: var(--accent-gold);

    font-size: 1.5rem;

}

.server-box img {

    max-width: 100%;

    height: auto;

    border-radius: 8px;

    transition: transform 0.3s;

}

.server-box:hover img {

    transform: scale(1.05);

}

.server-status {

    display: flex;

    justify-content: space-between;

    margin-top: 15px;

    font-size: 0.9rem;

    color: #ccc;

}

.online {

    color: #4CAF50;

}

.offline {

    color: #f44336;

}



/* CHRISTMAS GREETINGS */

.greetings {

    background: var(--glass-dark);

    padding: 60px 20px;

    margin: 50px 0;

    text-align: center;

    position: relative;

    overflow: hidden;

}

.greetings::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: 

        radial-gradient(circle at 20% 80%, rgba(255, 61, 61, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 80% 20%, rgba(46, 139, 87, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);

    z-index: -1;

}

.greetings-content {

    max-width: 800px;

    margin: 0 auto;

}

.greetings h2 {

    font-size: 2.5rem;

    color: var(--accent-gold);

    margin-bottom: 30px;

    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);

}

.greetings-message {

    font-size: 1.3rem;

    line-height: 1.6;

    margin-bottom: 30px;

    background: var(--glass);

    padding: 25px;

    border-radius: 15px;

    backdrop-filter: blur(10px);

    border-left: 4px solid var(--christmas-red);

    border-right: 4px solid var(--christmas-green);

    position: relative;

}

.greetings-message::before, .greetings-message::after {

    content: "❄";

    position: absolute;

    top: 10px;

    font-size: 1.5rem;

    color: var(--accent-gold);

}

.greetings-message::before {

    left: 10px;

}

.greetings-message::after {

    right: 10px;

}

.greetings-signature {

    font-size: 1.5rem;

    color: var(--accent);

    font-weight: bold;

    margin-top: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

}



/* MODERN FEATURES */

.features {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 25px;

    margin-top: 50px;

}

.feature-card {

    width: 250px;

    background: var(--glass);

    padding: 25px 20px;

    border-radius: 15px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

    text-align: center;

    transition: 0.3s;

}

.feature-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 20px rgba(255, 61, 61, 0.3);

}

.feature-icon {

    font-size: 3rem;

    color: var(--accent);

    margin-bottom: 15px;

    text-shadow: 0 0 10px rgba(255, 61, 61, 0.5);

}

.feature-card h3 {

    color: var(--accent-gold);

    margin-bottom: 10px;

}

.feature-card p {

    color: #ccc;

    font-size: 0.9rem;

}



/* SOCIAL LINKS */

.social-links {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 30px;

}

.social-link {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 50px;

    height: 50px;

    background: var(--glass);

    border-radius: 50%;

    color: white;

    font-size: 1.5rem;

    text-decoration: none;

    transition: 0.3s;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

}

.social-link:hover {

    background: var(--accent);

    transform: translateY(-5px);

    box-shadow: 0 5px 15px rgba(255, 61, 61, 0.4);

}



/* FOOTER */

footer {

    padding: 30px 20px;

    background: rgba(0,0,0,0.6);

    margin-top: 40px;

    text-align: center;

    border-top: 1px solid rgba(255,255,255,0.1);

}

footer p {

    margin: 10px 0;

    color: #ccc;

}

.footer-links {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin: 20px 0;

    flex-wrap: wrap;

}

.footer-links a {

    color: #ccc;

    text-decoration: none;

    transition: 0.3s;

}

.footer-links a:hover {

    color: var(--accent);

}



/* CHRISTMAS TREE DECORATION */

.christmas-tree {

    position: fixed;

    bottom: 20px;

    right: 20px;

    font-size: 3rem;

    color: var(--christmas-green);

    text-shadow: 0 0 10px rgba(46, 139, 87, 0.7);

    z-index: 1000;

    animation: treeGlow 3s infinite alternate;

}

@keyframes treeGlow {

    0% { text-shadow: 0 0 10px rgba(46, 139, 87, 0.7); }

    100% { text-shadow: 0 0 20px rgba(46, 139, 87, 1), 0 0 30px rgba(255, 215, 0, 0.7); }

}



/* === MEDIA QUERIES PENTRU RESPONSIVE === */



/* Tablet */

@media (max-width: 768px) {

    nav {

        padding: 15px 20px;

        flex-wrap: wrap;

    }

    

    .nav-toggle {

        display: block;

    }

    

    .nav-links {

        display: none;

        width: 100%;

        flex-direction: column;

        margin-top: 15px;

    }

    

    .nav-links.active {

        display: flex;

    }

    

    .nav-links a {

        margin: 5px 0;

        text-align: center;

        width: 100%;

    }

    

    header {

        padding: 80px 20px;

    }

    

    header h1 {

        font-size: 2.8rem;

    }

    

    header p {

        font-size: 1.1rem;

    }

    

    #countdown {

        font-size: 1.6rem;

    }

    

    .countdown-item {

        min-width: 80px;

        padding: 8px 15px;

    }

    

    .countdown-number {

        font-size: 2rem;

    }

    

    .server-box {

        width: 280px;

    }

    

    .section-title {

        font-size: 2rem;

    }

    

    .greetings h2 {

        font-size: 2rem;

    }

    

    .greetings-message {

        font-size: 1.1rem;

    }

    

    /* Reducem viteza lui Moș Crăciun pe tablete */

    #mosCraciun {

        animation-duration: 18s;

    }

}



/* Mobile */

@media (max-width: 480px) {

    nav .logo {

        font-size: 1.6rem;

    }

    

    header {

        padding: 60px 15px;

    }

    

    header h1 {

        font-size: 2.2rem;

    }

    

    #countdown {

        font-size: 1.3rem;

        gap: 10px;

    }

    

    .countdown-item {

        min-width: 70px;

        padding: 6px 10px;

    }

    

    .countdown-number {

        font-size: 1.6rem;

    }

    

    .countdown-label {

        font-size: 0.8rem;

    }

    

    section {

        padding: 40px 15px;

    }

    

    .servers {

        gap: 20px;

    }

    

    .server-box {

        width: 100%;

        max-width: 320px;

    }

    

    .section-title {

        font-size: 1.8rem;

    }

    

    .greetings {

        padding: 40px 15px;

    }

    

    .greetings h2 {

        font-size: 1.8rem;

    }

    

    .greetings-message {

        font-size: 1rem;

        padding: 20px 15px;

    }

    

    /* Ascunde Moș Crăciun pe ecrane foarte mici */

    #mosCraciun {

        display: none;

    }

    

    .christmas-tree {

        font-size: 2rem;

        bottom: 10px;

        right: 10px;

    }

    

    /* Reduce numărul de fulgi de zăpadă */

    .snowflake {

        font-size: 10px;

    }

}



/* Dispozitive foarte mici */

@media (max-width: 360px) {

    header h1 {

        font-size: 1.8rem;

    }

    

    #countdown {

        font-size: 1.1rem;

    }

    

    nav .logo {

        font-size: 1.4rem;

    }

    

    .feature-card {

        width: 100%;

        max-width: 280px;

    }

}



/* STEAM CONNECT BUTTONS */

.steam-connect {

    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid rgba(255,255,255,0.1);

}



.connect-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    background: linear-gradient(135deg, #1b2838, #2a475e);

    color: white;

    padding: 10px 15px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: all 0.3s ease;

    border: 1px solid #66c0f4;

    margin-bottom: 8px;

}



.connect-btn:hover {

    background: linear-gradient(135deg, #2a475e, #1b2838);

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(102, 192, 244, 0.4);

}



.server-info {

    font-size: 0.8rem;

    color: #66c0f4;

    text-align: center;

    font-family: monospace;

}



/* QUICK CONNECT SECTION */

.quick-connect {

    background: var(--glass-dark);

    padding: 50px 20px;

    margin: 40px 0;

}



.connect-buttons {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 20px;

    margin-bottom: 25px;

}



.quick-connect-btn {

    display: flex;

    align-items: center;

    gap: 10px;

    background: linear-gradient(135deg, var(--accent), #ff6b6b);

    color: white;

    padding: 15px 25px;

    border-radius: 10px;

    text-decoration: none;

    font-weight: bold;

    transition: all 0.3s ease;

    border: 1px solid rgba(255,255,255,0.2);

    min-width: 220px;

    justify-content: center;

}



.quick-connect-btn:hover {

    background: linear-gradient(135deg, #ff6b6b, var(--accent));

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(255, 61, 61, 0.4);

}



.connect-help {

    text-align: center;

    color: #ccc;

    font-size: 0.9rem;

    max-width: 600px;

    margin: 0 auto;

    background: var(--glass);

    padding: 15px;

    border-radius: 8px;

    border-left: 3px solid var(--accent-gold);

}



.connect-help i {

    color: var(--accent-gold);

    margin-right: 8px;

}



/* RESPONSIVE DESIGN FOR CONNECT BUTTONS */

@media (max-width: 768px) {

    .connect-buttons {

        flex-direction: column;

        align-items: center;

    }

    

    .quick-connect-btn {

        width: 100%;

        max-width: 280px;

    }

    

    .steam-connect {

        text-align: center;

    }

}

/* TOOLS SECTION */
.tools-section {
    padding: 50px 20px;
    background: var(--glass-dark);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-card {
    background: var(--glass);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 61, 61, 0.5);
}

.tool-card h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tool-card p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), #ff6b6b);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 61, 61, 0.4);
}

/* WEBSITE ANALYZER */
.analyzer-section {
    padding: 50px 20px;
    background: var(--glass-dark);
}

.analyzer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.analyzer-form {
    background: var(--glass);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

#website-url {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 1rem;
}

#website-url:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 61, 61, 0.3);
}

.analyze-button {
    background: linear-gradient(135deg, var(--accent), #ff6b6b);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analyze-button:hover {
    background: linear-gradient(135deg, #ff6b6b, var(--accent));
    transform: translateY(-2px);
}

.analyzer-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-checkbox input:checked + .checkmark::after {
    content: "?";
    color: var(--accent);
}

/* ANALYSIS RESULTS */
.analysis-results {
    background: var(--glass);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h3 {
    color: var(--accent-gold);
    margin: 0;
}

.new-analysis-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-analysis-btn:hover {
    background: var(--accent);
    color: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.score-excellent {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.score-good {
    background: linear-gradient(135deg, #ff9800, #e68900);
}

.score-average {
    background: linear-gradient(135deg, #ff5722, #e64a19);
}

.result-card h4 {
    color: white;
    margin-bottom: 10px;
}

.score {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.result-details {
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.value-good {
    color: #4CAF50;
}

.value-warning {
    color: #ff9800;
}

.value-poor {
    color: #f44336;
}

.recommendations {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.recommendations h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.recommendations ul {
    list-style: none;
    padding: 0;
}

.recommendations li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #ccc;
}

.recommendations i {
    color: #4CAF50;
}

/* LOADING ANIMATION */
.analysis-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.1);
    border-left: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPONSIVE DESIGN FOR TOOLS */
@media (max-width: 768px) {
    .tools-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .tool-card {
        min-width: 100%;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .analyzer-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-header {
        flex-direction: column;
        text-align: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}