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

:root {
    --primary-color: #0070d1;
    --accent-color: #00e0ff;
    --accent-secondary: #bd00ff;
    --dark-bg: #05080f;
    --card-bg: rgba(13, 17, 28, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --neon-blue: 0 0 15px rgba(0, 224, 255, 0.5);
    --neon-purple: 0 0 15px rgba(189, 0, 255, 0.5);
    --text-main: #ffffff;
    --text-muted: #abbcd5;
}

body {
    font-family: 'Inter', sans-serif;
    width: 100%;
    min-height: 100vh;
    background: #05080f url('../images/bg.jpg') center center fixed no-repeat;
    background-size: cover;
    color: var(--text-main);
    overflow-x: hidden;
}


body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.2;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(5, 8, 15, 0.75) 0%, rgba(2, 2, 5, 0.95) 100%);
    z-index: -1;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}


.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 15, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1.5px solid rgba(0, 224, 255, 0.3);
}

.header-container {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    height: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8em;
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.6));
    white-space: nowrap;
    line-height: 1;
}

.menu-toggle {
    background: transparent;
    border: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .icon-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

#main-nav.collapse {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 224, 255, 0.2);
    display: none;
}

#main-nav.collapse.in {
    display: block;
}

.nav-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.nav-list li {
    margin-bottom: 15px;
}

.nav-list a {
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.card-generator-section {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.panel-default {
    background: var(--card-bg) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: var(--glass-border) !important;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.panel-default>.panel-heading {
    background: rgba(0, 224, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 12px 20px !important;
}

.panel-text,
.panel-text-info {
    color: var(--accent-color);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
}

.panel-body {
    padding: 25px !important;
}

h2.generator-h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 25px 0;
    font-size: 1.8em;
    text-align: center;
}

h2.generator-h2 small {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.45em;
    -webkit-text-fill-color: var(--text-muted);
    padding: 0 5px;
}


.img-flex-gen {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    width: 100%;
}

.psn-gen-card {
    width: 130px;
    max-width: 44%;
    position: relative;
    cursor: pointer;
    margin: 4px;
}

.psn-gen-card img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

img.gift-active {
    transform: translateY(-15px) scale(1.15) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 40px var(--accent-color), 0 0 20px rgba(255, 255, 255, 0.5) !important;
    filter: brightness(1.2) !important;
    z-index: 100 !important;
}


.psn-gen-card.disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.8);
}

.psn-gen-card.disabled::after {
    content: "RUPTURE DE STOCK";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background: linear-gradient(135deg, #FF0055 0%, #a30037 100%);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    padding: 8px 0;

    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    font-size: 0.75em;
    z-index: 10;
    width: 100%;

    text-align: center;
}


.row .col-xs-12.col-md-6 {
    padding: 0 10px;
}

.switch-holder {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
}

.switch-holder label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 5px;
    display: block;
}

select.form-control {
    background: #0d121f;
    border: 1px solid #2a3b55;
    color: white;
    height: 38px;
    font-size: 0.9em;
    padding: 0 10px;
}


.btn-psn {
    background: linear-gradient(90deg, #0060da 0%, #00a2ff 100%);
    border-radius: 4px;
    padding: 14px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    font-size: 1.25em;
    letter-spacing: 1px;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all 0.3s;
    border: none;
    color: white !important;
}

.btn-psn:hover {
    box-shadow: 0 0 30px rgba(0, 162, 255, 0.6);
    transform: scale(1.02);
}


.modal-dialog {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.modal-content {
    background: rgba(13, 17, 28, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 224, 255, 0.2);
    border-radius: 16px;
    width: 100%;
    margin-bottom: 20%;

}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: var(--accent-color);
}

.modal-body {
    padding: 40px 30px;
}

#code-print {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 2em;
    color: var(--accent-color);
    background: rgba(0, 224, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed rgba(0, 224, 255, 0.3);
    margin: 30px 0;
    display: block;
}

.consol-btn-holder .btn-psn {
    margin-top: 25px;
    padding: 18px;
}


.loader1 {
    width: 55px;
    height: 55px;
    border: 4px solid rgba(0, 224, 255, 0.1);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin-anim 1s linear infinite !important;
    margin: 0 auto 30px auto;
}

@keyframes spin-anim {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.info-generator-section .panel {
    margin-top: 30px;
    border: 1px solid rgba(0, 224, 255, 0.1) !important;
}

.info-hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 10px;
}

.hud-item {
    background: rgba(0, 224, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.hud-item:hover {
    background: rgba(0, 224, 255, 0.07);
    border-color: rgba(0, 224, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hud-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 224, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    color: var(--accent-color);
}

.hud-content {
    display: flex;
    flex-direction: column;
}

.hud-label {
    font-size: 0.75em;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.hud-value {
    font-size: 1.1em;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    margin-top: 2px;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.highlight-blue {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

@media (max-width: 480px) {
    .info-hud-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}



@media (max-width: 768px) {
    .navbar-brand2 h1 {
        font-size: 1.3em;
    }

    .card-generator-section {
        padding-top: 55px;
    }

    h2.generator-h2 {
        font-size: 1.4em;
    }

    .psn-gen-card {
        width: 100px;
        margin: 3px;
    }

    .panel-body {
        padding: 15px !important;
    }

    .btn-psn {
        font-size: 1.1em;
        padding: 12px;
    }

    .modal-dialog {
        margin: 10px;
    }
}

@media (max-height: 700px) {
    h2.generator-h2 {
        margin-bottom: 15px;
    }

    .psn-gen-card {
        width: 90px;
    }
}

.display-none {
    display: none !important;
}

.text-center {
    text-align: center;
}


.footer {
    background: rgba(5, 8, 15, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.social-btn {
    display: none !important;
}

.text-footer {
    color: #555;
    font-size: 0.85em;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}