@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
    background: radial-gradient(circle, rgba(23, 23, 23, 1) 0%, rgba(28, 28, 28, 1) 100%);
    user-select: none;
    overflow-x: hidden;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 12000;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-banner--show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner--hide {
    opacity: 0;
    transform: translateY(18px);
}

.cookie-banner__content {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    background: rgba(20, 20, 20, 0.92);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
}

.cookie-banner__title {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    color: #a78bfa;
    margin-bottom: 4px;
}

.cookie-banner__desc {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-banner__link {
    color: #a78bfa;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    color: #ffffff;
}

.cookie-banner__btn--primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.cookie-banner__btn--primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.cookie-banner__btn--ghost {
    background: #303030;
    border: 1px solid #3a3a3a;
}

.cookie-banner__btn--ghost:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
}

/* ============================================
   RESPONSIVE FOUNDATION & CONTAINER SYSTEM
   Mobile-first approach with 8 breakpoints
   ============================================ */

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Container widths for different breakpoints */

/* Extra small mobile: < 420px */
/* Uses base styles: 100% width with 15px padding */

/* Small mobile: 420px - 640px */
@media (min-width: 420px) {
    .container {
        padding: 0 20px;
    }
}

/* Medium mobile: 640px - 768px */
@media (min-width: 640px) {
    .container {
        width: 95%;
        max-width: 720px;
        padding: 0 24px;
    }
}

/* Tablet: 768px - 900px */
@media (min-width: 768px) {
    .container {
        max-width: 960px;
    }
}

/* Large tablet: 900px - 1024px */
@media (min-width: 900px) {
    .container {
        max-width: 960px;
    }
}

/* Small desktop: 1024px - 1200px */
@media (min-width: 1024px) {
    .container {
        width: 95%;
        max-width: 960px;
    }
}

/* Medium desktop: 1200px - 1400px */
@media (min-width: 1200px) {
    .container {
        width: 95%;
        max-width: 1200px;
    }
}

/* Large desktop: 1400px - 1920px */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Extra large desktop: 1920px+ */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* ============================================
   RESPONSIVE NAVIGATION MENU
   Mobile horizontal scrollable → Tablet wrapped → Desktop full
   ============================================ */

/* Mobile navigation (< 640px): Horizontal scrollable layout */
@media (max-width: 639px) {
    header {
        padding: 16px 0;
    }
    
    header .logo {
        font-size: 19px;
        gap: 8px;
    }
    
    header .logo-img {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }
    
    header nav {
        float: none;
        width: 100%;
        margin-top: 12px;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
        padding: 4px 0 10px;
    }
    
    header nav ul::-webkit-scrollbar {
        height: 4px;
    }
    
    header nav ul::-webkit-scrollbar-track {
        background: transparent;
    }
    
    header nav ul::-webkit-scrollbar-thumb {
        background: rgba(139, 92, 246, 0.3);
        border-radius: 2px;
    }
    
    header nav ul li {
        flex-shrink: 0;
    }
    
    header nav ul li a {
        font-size: 12px;
        padding: 10px 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    
    header nav ul li.auth a {
        padding: 10px 14px;
        min-height: 44px;
    }
    
    .language-toggle {
        font-size: 12px;
        padding: 10px 12px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Extra small mobile (< 480px): Even more compact */
@media (max-width: 479px) {
    header {
        padding: 14px 0;
    }
    
    header .logo {
        font-size: 18px;
        gap: 8px;
    }
    
    header .logo-img {
        width: 32px;
        height: 32px;
    }
    
    header nav ul {
        gap: 5px;
    }
    
    header nav ul li a {
        font-size: 12px;
        padding: 9px 11px;
    }
    
    header nav ul li.auth a {
        padding: 9px 13px;
    }
}

/* Tablet navigation (640px-1024px): Wrapped layout with centered alignment */
@media (min-width: 640px) and (max-width: 1024px) {
    header {
        padding: 20px 0;
    }
    
    header .logo {
        font-size: 24px;
        gap: 10px;
    }
    
    header .logo-img {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }
    
    header nav {
        float: none;
        width: 100%;
        margin-top: 16px;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    header nav ul li a {
        font-size: 14px;
        padding: 10px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    header nav ul li.auth a {
        padding: 10px 18px;
        min-height: 44px;
    }
    
    .language-toggle {
        font-size: 14px;
        padding: 10px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Desktop navigation (1024px+): Full horizontal layout restored */
@media (min-width: 1025px) {
    header nav {
        float: right;
        width: auto;
        margin-top: 0;
    }
    
    header nav ul {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }
}

header {
    padding: 25px 0;
    animation: fadeInDown 0.8s ease;
}

header .logo {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header .logo-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.45);
}

header nav {
    float: right;
    width: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

header nav ul li {
    animation: fadeIn 0.8s ease backwards;
}

header nav ul li:nth-child(1) {
    animation-delay: 0.1s;
}

header nav ul li:nth-child(2) {
    animation-delay: 0.2s;
}

header nav ul li:nth-child(3) {
    animation-delay: 0.3s;
}

header nav ul li:nth-child(4) {
    animation-delay: 0.4s;
}

header nav ul li:nth-child(5) {
    animation-delay: 0.5s;
}

header nav ul li a {
    color: #888888;
    transition: all 0.3s ease;
}

header nav ul li:not(.auth):not(.active) a:hover {
    border-bottom: 1px solid #ffffff;
}

header nav ul li.active a {
    color: #ffffff;
}

.language-switch {
    display: flex;
    align-items: center;
}

.language-toggle {
    color: #ffffff;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

.language-toggle:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

header nav ul li.auth a {
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-profile {
    display: none;
}

.logged-in .auth-signin,
.logged-in .auth-signup {
    display: none;
}

.logged-in .auth-profile {
    display: inline-block;
}

header nav ul li.auth-in a {
    background: #303030;
    color: #ffffff;
}

header nav ul li.auth-in a:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header nav ul li.auth-up a {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
}

header nav ul li.auth-up a:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 90px 0 120px;
}

.hero--info {
    width: 520px;
    animation: fadeInLeft 1s ease;
}

.hero--info h2 {
    color: #a78bfa;
    font-size: 30px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero--info h1 {
    margin-top: 10px;
    font-size: 42px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero--info p {
    margin: 25px 0 35px;
    color: #cccccc;
    line-height: 1.6;
    font-size: 17px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero--info .btn {
    font-size: 17px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 15px 32px;
    border: none;
    transition: all 300ms ease;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero--info .btn:hover {
    cursor: pointer;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.hero--visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: fadeInRight 1s ease;
}

.hero-gui {
    width: 880px;
    animation: hero-float 7s ease-in-out infinite, fadeIn 1.2s ease;
}

.hero-gui:hover {
    animation-play-state: paused;
}

@keyframes hero-float {
    0% {
        transform: translateY(0) translateX(20px);
    }
    50% {
        transform: translateY(-20px) translateX(20px);
    }
    100% {
        transform: translateY(0) translateX(20px);
    }
}

.auth-box {
    width: 480px;
    padding: 40px;
    border-radius: 18px;
    margin: 60px auto;
    background: #1f1f1f;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease;
}

.auth-box h2 {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    animation: fadeIn 0.8s ease 0.2s backwards;
}

.auth-box p {
    color: #b8b8b8;
    text-align: center;
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease 0.3s backwards;
}

.field {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease backwards;
}

.field:nth-child(4) {
    animation-delay: 0.4s;
}

.field:nth-child(5) {
    animation-delay: 0.5s;
}

.field:nth-child(6) {
    animation-delay: 0.6s;
}

.field:nth-child(7) {
    animation-delay: 0.7s;
}

.field label {
    font-size: 15px;
    display: block;
    margin-bottom: 6px;
    color: #bbbbbb;
}

.field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #303030;
    background: #161616;
    color: #ffffff;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.field input:focus {
    border-color: #8b5cf6;
    outline: none;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.turnstile-row {
    display: flex;
    justify-content: center;
    margin: 12px 0 18px;
}

.cf-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-gate-card {
    width: min(100%, 520px);
    padding: 42px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.96), rgba(47, 22, 79, 0.82));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55), 0 0 55px rgba(139, 92, 246, 0.18);
    text-align: center;
    animation: fadeInUp 0.55s ease;
}

.cf-gate-card img {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    object-fit: cover;
    margin-bottom: 18px;
    box-shadow: 0 0 34px rgba(168, 85, 247, 0.45);
}

.cf-gate-card span {
    display: block;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cf-gate-card h1 {
    font-size: clamp(30px, 6vw, 46px);
    line-height: 1.05;
    margin-bottom: 14px;
}

.cf-gate-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 22px;
}

.cf-gate-error {
    color: #fca5a5 !important;
}

.cf-gate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cf-gate-button {
    width: 100%;
    padding: 14px 24px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    font-size: 17px;
    margin-top: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.auth-btn:active {
    transform: translateY(-1px);
}

.auth-icons {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: block;
    animation: bounceIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.products-section {
    padding: 60px 0 100px;
}

.products-header {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

.products-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.pricing-card {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 35px 28px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:hover {
    background: #202020;
    border-color: #8b5cf6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.plan-badge {
    background: #252525;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #999999;
    display: inline-block;
    margin-bottom: 20px;
}

.plan-name {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}

.plan-features {
    list-style: none;
    margin-bottom: 25px;
}

.plan-features li {
    color: #999999;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.plan-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #a78bfa;
    font-size: 18px;
}

.pricing-card .purchase-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card .purchase-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.hwid-section {
    animation: fadeInUp 0.6s ease 0.5s backwards;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.hwid-item {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px 35px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.hwid-item:hover {
    background: #202020;
    border-color: #8b5cf6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

.hwid-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.hwid-subtitle {
    font-size: 13px;
    color: #999999;
}

.hwid-price {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.hwid-item .purchase-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hwid-item .purchase-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.kits-section {
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.7s backwards;
}

.kits-header {
    text-align: center;
    margin-bottom: 40px;
}

.kits-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

.kits-subtitle {
    font-size: 16px;
    color: #999999;
    font-weight: 400;
    animation: fadeInUp 0.6s ease 0.9s backwards;
}

.kits-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.kit-card {
    position: relative;
    width: 260px;
    height: 312px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    box-shadow: rgba(60, 60, 60, 0.13) 0px 4px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: radial-gradient(circle, rgb(65, 96, 181) 0%, rgb(40, 51, 114) 100%);
    animation: kitCardAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes kitCardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kit-card:nth-child(1) {
    animation-delay: 1s;
}

.kit-card:nth-child(2) {
    animation-delay: 1.15s;
}

.kit-card:nth-child(3) {
    animation-delay: 1.3s;
}

.kit-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(60, 60, 60, 0.3) 0px 12px 32px;
}

.kit-card:hover .centerImg {
    transform: translate(-50%, -50%) scale(1.1);
    border-width: 4px;
}

.cardLabel {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom-right-radius: 8px;
}

.centerImg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.cardTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
    pointer-events: none;
}

.cardTitle span {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.priceBadge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.priceText {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.buyText {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kit-card:hover .priceText {
    opacity: 0;
}

.kit-card:hover .buyText {
    opacity: 1;
}



.profile-section {
    padding: 60px 0 100px;
}

.profile-main {
    display: flex;
    gap: 30px;
    animation: fadeInUp 0.8s ease;
}

.admin-section .profile-main {
    align-items: stretch;
    gap: 20px;
}

.admin-section .profile-left,
.admin-section .profile-right {
    flex: 1;
    width: auto;
}

.admin-section .profile-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-section .account-info {
    flex: 1;
}

.profile-left {
    flex: 1;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 35px;
}

.profile-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #2a2a2a;
}

.profile-avatar-small {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-avatar-small:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.profile-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #4c1d95 100%);
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-avatar-small:hover .avatar-upload-overlay {
    opacity: 1;
}

.profile-username {
    display: flex;
    align-items: baseline;
}

.username-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.uid-text {
    font-size: 15px;
    color: #999999;
    font-family: monospace;
    font-weight: 400;
    vertical-align: middle;
    line-height: 1;
}

.subscription-info {
    margin-bottom: 25px;
}

.subscription-label {
    font-size: 13px;
    color: #999999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subscription-date {
    font-size: 18px;
    font-weight: 600;
    color: #8b5cf6;
}

.activation-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.admin-compact-input {
    width: 100%;
    height: 36px;
    font-size: 12px;
}

.admin-compact-button {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.admin-compact-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.key-input {
    flex: 1;
    padding: 14px 18px;
    background: #252525;
    border: 2px solid #303030;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.key-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #2a2a2a;
}

.key-input::placeholder {
    color: #666666;
}

.admin-section input[type=number]::-webkit-outer-spin-button,
.admin-section input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.admin-section input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.activate-btn {
    padding: 14px 30px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.activate-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.password-section {
    padding-top: 25px;
    border-top: 2px solid #2a2a2a;
}

.admin-block-spacing {
    margin-top: 20px;
}

.change-password-btn {
    width: 100%;
    padding: 14px;
    background: #303030;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-password-btn:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}

.change-password-form {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.change-password-form-open {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.password-save-btn {
    width: 100%;
}

.admin-block-button {
    margin-top: 10px;
    width: 100%;
}

.profile-right {
    width: 350px;
}

.account-info {
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 16px;
    padding: 30px;
}

.account-info-download {
    margin-top: 20px;
}

.download-btn {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    transition: all 0.25s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.35);
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.download-btn-disabled,
.download-btn-disabled:hover {
    background: #303030;
    color: #bbbbbb;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.server-selection {
    margin: 20px 0;
}

.server-label {
    font-size: 14px;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.server-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.server-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #303030;
    background: #1f1f1f;
    color: #cccccc;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-btn:hover {
    border-color: #8b5cf6;
    background: #252525;
    transform: translateY(-2px);
}

.server-btn-active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
}

.download-status {
    padding: 14px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    color: #a78bfa;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .server-buttons {
        flex-direction: column;
    }
    
    .server-btn {
        width: 100%;
    }
}

.account-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

.admin-list-container {
    margin-top: 10px;
    max-height: 140px;
    overflow-y: auto;
}

.admin-keys-list {
    max-height: 180px;
}

.admin-list-grid {
    gap: 4px;
}

.admin-key-item {
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #1f1f1f;
    font-size: 12px;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-key-item:hover {
    background: #252525;
    border-color: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.admin-key-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-key-value {
    font-weight: 600;
    color: #ffffff;
}

.admin-key-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 6px;
}

.admin-key-status-active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.admin-key-status-used {
    color: #f97373;
    background: rgba(239, 68, 68, 0.1);
}

.admin-key-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #999999;
}

.admin-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #252525;
    border: 1px solid #303030;
    border-radius: 12px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.admin-user-item:hover {
    transform: translateY(-2px);
    border-color: #8b5cf6;
}

.admin-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1a1a;
    border: 2px solid rgba(139, 92, 246, 0.45);
}

.admin-user-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #4c1d95 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.admin-user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-role-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.admin-role-select {
    min-width: 120px;
}

.admin-user-name {
    color: #ffffff;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-id {
    color: #999999;
    font-size: 13px;
}

.hwid-value {
    font-family: monospace;
    color: #666666;
}

.footer {
    background: #1a1a1a;
    border-top: 2px solid #2a2a2a;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.42);
}

.footer-description {
    font-size: 15px;
    color: #999999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #cccccc;
}

.stats-dot {
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list li a {
    font-size: 14px;
    color: #999999;
    transition: color 0.3s ease;
}

.footer-list li a:hover {
    color: #8b5cf6;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: #666666;
}

html {
    scroll-behavior: smooth;
}

@keyframes smoothScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-animation {
    animation: smoothScroll 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:nth-child(1).animate-on-scroll,
.kit-card:nth-child(1).animate-on-scroll,
.footer-column:nth-child(1).animate-on-scroll {
    transition-delay: 0.1s;
}

.pricing-card:nth-child(2).animate-on-scroll,
.kit-card:nth-child(2).animate-on-scroll,
.footer-column:nth-child(2).animate-on-scroll {
    transition-delay: 0.2s;
}

.pricing-card:nth-child(3).animate-on-scroll,
.kit-card:nth-child(3).animate-on-scroll,
.footer-column:nth-child(3).animate-on-scroll {
    transition-delay: 0.3s;
}

.notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-left: 4px solid #8b5cf6;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-success .notification-icon {
    background: #10b981;
    color: #ffffff;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-error .notification-icon {
    background: #ef4444;
    color: #ffffff;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-warning .notification-icon {
    background: #f59e0b;
    color: #ffffff;
}

.notification-info {
    border-left-color: #8b5cf6;
}

.notification-info .notification-icon {
    background: #8b5cf6;
    color: #ffffff;
}

.notification-message {
    flex: 1;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #999999;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #ffffff;
}

.purchase-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.purchase-modal-open {
    display: flex;
    opacity: 1;
}

.purchase-modal {
    width: 520px;
    background: #141414;
    border-radius: 18px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.purchase-modal {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.6) rgba(255, 255, 255, 0.06);
}

.purchase-modal::-webkit-scrollbar {
    width: 10px;
}

.purchase-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
}

.purchase-modal::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.55);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.purchase-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.75);
}

.admin-section input[type="file"].key-input {
    padding: 10px 12px;
    color: #cfcfcf;
}

.admin-section input[type="file"].key-input::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

.admin-section input[type="file"].key-input::file-selector-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.admin-section input[type="file"].key-input::-webkit-file-upload-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
}

.admin-section input[type="file"].key-input::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.purchase-modal-open .purchase-modal {
    animation: purchase-modal-pop 0.25s ease;
}

.purchase-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #2a2a2a;
}

.purchase-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.purchase-modal-close {
    background: transparent;
    border: none;
    color: #777777;
    font-size: 22px;
    cursor: pointer;
}

.purchase-modal-close:hover {
    color: #ffffff;
}

.purchase-modal-body {
    padding: 18px 22px 10px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.purchase-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.purchase-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999999;
}

.purchase-value {
    font-size: 14px;
    color: #ffffff;
}

.purchase-promo-group {
    display: flex;
    gap: 8px;
}

.purchase-input {
    flex: 1;
    padding: 10px 12px;
    background: #1f1f1f;
    border-radius: 10px;
    border: 1px solid #303030;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.purchase-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: #252525;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.purchase-input::placeholder {
    color: #666666;
}

.purchase-payments {
    display: flex;
    gap: 8px;
}

.purchase-pay-btn {
    flex: 1;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid #303030;
    background: #1a1a1a;
    color: #dddddd;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    min-height: 42px;
    transition: all 0.3s ease;
}

.purchase-pay-btn:hover {
    background: #252525;
    border-color: #3a3a3a;
}

.purchase-pay-btn-active {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
}

.purchase-pay-btn-active:hover {
    background: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.purchase-total {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.purchase-total-main {
    font-size: 20px;
    font-weight: 600;
}

.purchase-total-discount {
    font-size: 12px;
    color: #10b981;
    margin-left: 6px;
}

.purchase-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 22px 18px 22px;
    border-top: 1px solid #2a2a2a;
}

.purchase-secondary-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid #3a3a3a;
    background: #303030;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-secondary-btn:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.purchase-primary-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-primary-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.purchase-primary-btn:disabled,
.purchase-secondary-btn:disabled,
.purchase-pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.purchase-primary-btn:disabled:hover,
.purchase-secondary-btn:disabled:hover,
.purchase-pay-btn:disabled:hover {
    background: inherit;
    transform: none;
    box-shadow: none;
}

.status-page-site {
    min-height: 68vh;
    padding: 90px 0 120px;
}

.status-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.status-hero-info {
    width: 560px;
    animation: fadeInLeft 0.9s ease;
}

.status-label {
    display: inline-block;
    color: #a78bfa;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
}

.status-label-success {
    color: #86efac;
}

.status-hero-info h1 {
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.98;
    margin-bottom: 22px;
}

.status-hero-info p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 17px;
    margin-bottom: 34px;
}

#paymentStatusTitle,
#paymentStatusText {
    transition: opacity 0.25s ease;
}

.status-hero-visual {
    width: 420px;
    height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.1s ease;
}

.status-hero-visual img {
    width: 285px;
    height: 285px;
    border-radius: 42px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 80px rgba(139, 92, 246, 0.35);
    animation: hero-float 7s ease-in-out infinite;
}

.status-glow {
    position: absolute;
    inset: 45px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.38), rgba(139, 92, 246, 0.08) 48%, transparent 70%);
    filter: blur(8px);
    z-index: 1;
}

.status-actions {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.status-primary,
.status-secondary {
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.status-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #ffffff;
}

.status-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.5);
}

.status-secondary {
    background: #303030;
    color: #ffffff;
}

.status-secondary:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

@keyframes purchase-modal-pop {
    from {
        transform: translateY(24px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}


@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero {
        gap: 40px;
    }
    
    .hero-gui {
        width: 100%;
        max-width: 700px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    header nav ul {
        gap: 15px;
    }
    
    header nav ul li a {
        font-size: 14px;
    }
    
    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 60px 0 80px;
    }

    .status-hero {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .status-hero-info {
        width: 100%;
    }

    .status-actions {
        justify-content: center;
    }

    .status-hero-visual {
        width: 100%;
        height: 320px;
    }

    .status-hero-visual img {
        width: 220px;
        height: 220px;
        border-radius: 32px;
    }
    
    .hero--info {
        width: 100%;
        text-align: center;
    }
    
    .hero--visual {
        width: 100%;
        justify-content: center;
    }
    
    .hero-gui {
        max-width: 600px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kits-grid {
        gap: 15px;
    }
    
    .kit-card {
        width: 240px;
        height: 290px;
    }
    
    .profile-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-right {
        width: 100%;
    }
    
    .admin-section .profile-left,
    .admin-section .profile-right {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    header {
        padding: 20px 0;
    }
    
    header .logo {
        font-size: 24px;
        float: none;
        text-align: center;
        display: inline-flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }
    
    header nav {
        float: none;
        width: 100%;
    }
    
    header nav ul {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    header nav ul li {
        flex-shrink: 0;
    }
    
    header nav ul li a {
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
    }
    
    .hero--info h2 {
        font-size: 24px;
    }
    
    .hero--info h1 {
        font-size: 32px;
    }
    
    .hero--info p {
        font-size: 15px;
    }
    
    .auth-box {
        width: 100%;
        max-width: 400px;
        padding: 30px 25px;
        margin: 40px auto;
    }

    .cf-gate-card {
        padding: 32px 22px;
    }
    
    .auth-box h2 {
        font-size: 28px;
    }
    
    .products-header h1 {
        font-size: 30px;
    }
    
    .kits-title {
        font-size: 36px;
    }
    
    .kits-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .kit-card {
        width: 100%;
        max-width: 320px;
    }
    
    .hwid-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .purchase-modal {
        width: 90%;
        max-width: 450px;
    }
    
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }

}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    header .logo {
        font-size: 20px;
    }

    header .logo-img {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    header nav ul {
        gap: 8px;
    }
    
    header nav ul li a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .hero--info h2 {
        font-size: 20px;
    }
    
    .hero--info h1 {
        font-size: 26px;
    }
    
    .hero--info p {
        font-size: 14px;
        margin: 20px 0 25px;
    }
    
    .hero--info .btn {
        font-size: 15px;
        padding: 12px 24px;
    }
    
    .auth-box {
        padding: 25px 20px;
        margin: 30px auto;
    }
    
    .auth-box h2 {
        font-size: 24px;
    }
    
    .field input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .auth-btn {
        padding: 13px;
        font-size: 15px;
    }
    
    .products-header h1 {
        font-size: 26px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .plan-name {
        font-size: 20px;
    }
    
    .plan-price {
        font-size: 28px;
    }
    
    .kits-title {
        font-size: 30px;
    }
    
    .profile-left {
        padding: 25px 20px;
    }
    
    .profile-header-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .username-text {
        font-size: 20px;
    }
    
    .account-info {
        padding: 25px 20px;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-description {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .hero--info h1 {
        font-size: 22px;
    }
    
    .auth-box {
        padding: 20px 15px;
    }
    
    .kit-card {
        width: 100%;
        height: 280px;
    }
    
    .centerImg {
        width: 120px;
        height: 120px;
    }
}

/* Device adaptation layer */
@media (max-width: 1200px) {
    .container {
        width: min(100% - 40px, 960px);
        max-width: none;
        padding: 0;
    }

    header nav ul {
        gap: 14px;
    }

    .hero--info {
        width: min(100%, 560px);
    }

    .products-section {
        padding-top: 40px;
    }
}

@media (max-width: 900px) {
    body {
        font-size: 15px;
    }

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    header .logo {
        margin-bottom: 0;
    }

    header nav {
        float: none;
        width: 100%;
    }

    header nav ul {
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding: 4px 0 10px;
        scrollbar-width: thin;
    }

    header nav ul li {
        flex: 0 0 auto;
    }

    header nav ul li.auth a {
        padding: 8px 14px;
    }

    .hero {
        min-height: auto;
        padding: 48px 0 70px;
    }

    .hero--info h1 {
        font-size: clamp(30px, 7vw, 42px);
    }

    .hero--info p {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-grid,
    .kits-grid {
        grid-template-columns: 1fr;
    }

    .activation-panel,
    .purchase-promo-group,
    .purchase-payments {
        flex-direction: column;
    }

    .activate-btn,
    .purchase-secondary-btn,
    .purchase-primary-btn,
    .purchase-pay-btn {
        width: 100%;
    }

    .admin-list-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        align-items: flex-start;
    }

    .footer-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 100%);
    }

    header {
        padding: 16px 0 10px;
    }

    header .logo span {
        font-size: 19px;
    }

    header nav ul li a,
    .language-toggle {
        font-size: 12px;
    }

    header nav ul li.auth a {
        padding: 7px 11px;
        border-radius: 7px;
    }

    .hero {
        gap: 28px;
        padding: 34px 0 56px;
    }

    .hero--info h2 {
        font-size: 18px;
    }

    .hero--info h1 {
        line-height: 1.15;
    }

    .hero-gui {
        max-height: 260px;
        object-fit: contain;
    }

    .auth-box {
        box-sizing: border-box;
    }

    .products-section {
        padding-top: 26px;
    }

    .products-header {
        margin-bottom: 28px;
    }

    .pricing-card,
    .profile-left,
    .account-info,
    .purchase-modal {
        border-radius: 14px;
    }

    .pricing-card,
    .account-info {
        padding: 22px 18px;
    }

    .plan-price {
        overflow-wrap: anywhere;
    }

    .hwid-item {
        padding: 22px 18px;
    }

    .profile-main {
        gap: 16px;
    }

    .profile-avatar-small {
        width: 86px;
        height: 86px;
    }

    .key-input {
        width: 100%;
        min-width: 0;
    }

    .purchase-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .purchase-modal {
        width: 100%;
        max-width: none;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        overflow-y: auto;
    }

    .purchase-modal-header,
    .purchase-modal-body,
    .purchase-modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .purchase-modal-footer {
        flex-direction: column-reverse;
    }

    .admin-key-row,
    .admin-key-meta {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-key-value {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .footer {
        margin-top: 44px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(100% - 22px, 100%);
    }

    header nav ul {
        gap: 7px;
    }

    header nav ul li a,
    .language-toggle {
        font-size: 11px;
    }

    header nav ul li.auth a {
        padding: 6px 9px;
    }

    .hero--info .btn,
    .purchase-btn,
    .activate-btn,
    .change-password-btn,
    .auth-btn {
        width: 100%;
    }

    .auth-box {
        margin-top: 22px;
    }

    .pricing-card {
        padding: 20px 15px;
    }

    .plan-features li {
        font-size: 14px;
    }

    .profile-left,
    .account-info {
        padding: 20px 15px;
    }

    .footer-logo {
        align-items: flex-start;
    }
}

/* ===================================
   COMPREHENSIVE DEVICE ADAPTATION
   Mobile-first responsive enhancements
   =================================== */

/* Touch-friendly sizes for all devices */
@media (hover: none) and (pointer: coarse) {
    button, a, input[type="button"], input[type="submit"], .activate-btn, .purchase-btn, .download-btn {
        min-height: 48px;
        padding: 12px 16px;
        border-radius: 8px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="file"],
    textarea,
    select {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px; /* Prevent iOS zoom on focus */
    }

    .field {
        margin-bottom: 18px;
    }

    label {
        display: block;
        margin-bottom: 8px;
    }
}

/* Tablet devices (iPad, Surface, etc) */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        width: min(100% - 32px, 720px);
    }

    .profile-main {
        flex-direction: column;
        gap: 24px;
    }

    .profile-left,
    .profile-right {
        width: 100%;
    }

    .account-info h3 {
        font-size: 18px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    header nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .kits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .purchase-modal {
        width: min(95%, 550px);
    }
}

/* Large tablets and smaller desktops */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        width: min(100% - 40px, 960px);
    }

    .kits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Extra-large screens */
@media (min-width: 1400px) {
    .container {
        width: min(100% - 80px, 1320px);
    }

    .kits-grid {
        gap: 32px;
    }

    .info-grid {
        gap: 24px;
    }
}

/* Profile page responsive improvements */
@media (max-width: 768px) {
    .profile-section {
        padding: 20px 0;
    }

    .profile-main {
        gap: 16px;
    }

    .profile-left {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .profile-right {
        gap: 16px;
    }

    .account-info {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .info-grid {
        gap: 14px;
    }

    .info-label {
        font-size: 13px;
        opacity: 0.8;
    }

    .info-value {
        font-size: 14px;
        word-break: break-word;
    }

    .subscription-info {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .subscription-info:last-child {
        border-bottom: none;
    }

    .download-btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
    }

    .key-input {
        width: 100%;
        min-height: 44px;
        padding: 11px 13px;
        font-size: 15px;
    }

    .activate-btn {
        width: 100%;
        min-height: 44px;
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .profile-avatar-small {
        width: 80px;
        height: 80px;
    }

    .username-text {
        font-size: 18px;
        line-height: 1.2;
    }

    .uid-text {
        font-size: 12px;
        display: block;
    }

    .account-info h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .info-item {
        padding: 10px 0;
    }

    .info-label {
        font-size: 12px;
    }

    .info-value {
        font-size: 13px;
    }

    .hwid-value {
        font-family: 'Monaco', 'Courier', monospace;
        font-size: 11px;
        word-break: break-all;
    }

    .key-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Stack forms vertically on very small screens */
    .activation-panel,
    .purchase-promo-group {
        flex-direction: column;
        gap: 10px;
    }

    .change-password-form {
        flex-direction: column;
        gap: 10px;
    }

    .purchase-modal {
        border-radius: 16px 16px 0 0;
        max-height: 90vh;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Landscape orientation optimization */
@media (max-height: 600px) and (orientation: landscape) {
    header {
        padding: 10px 0;
    }

    .hero {
        padding: 24px 0;
        gap: 16px;
    }

    .auth-box {
        margin: 20px auto;
        padding: 20px;
    }

    .profile-section {
        padding: 16px 0;
    }

    .subscription-info {
        padding: 8px 0;
    }
}

/* Print media */
@media print {
    header, nav, .purchase-btn, .activate-btn, .change-password-btn {
        display: none;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    body {
        background: white;
        color: black;
    }

    .account-info {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        padding: 10px;
    }
}

/* High DPI (Retina) screen adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    button, .activate-btn, .purchase-btn {
        border-width: 0.5px;
    }
}


/* ========================================
   УЛУЧШЕННАЯ АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ
   ======================================== */

/* Общие улучшения для мобильных */
@media (max-width: 768px) {
    /* Навигация */
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    header nav ul li a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    /* Логотип */
    header .logo {
        font-size: 20px;
    }
    
    header .logo-img {
        width: 36px;
        height: 36px;
    }
    
    /* Hero секция */
    .hero {
        flex-direction: column;
        padding: 40px 0 60px;
        gap: 40px;
    }
    
    .hero--info {
        width: 100%;
        text-align: center;
    }
    
    .hero--info h2 {
        font-size: 22px;
    }
    
    .hero--info h1 {
        font-size: 28px;
        margin-top: 8px;
    }
    
    .hero--info p {
        font-size: 15px;
        margin: 20px 0 25px;
    }
    
    .hero--visual {
        width: 100%;
        justify-content: center;
    }
    
    .hero-gui {
        width: 100%;
        max-width: 500px;
    }
    
    /* Auth box */
    .auth-box {
        width: 100%;
        padding: 30px 20px;
        margin: 40px auto;
    }
    
    .auth-box h2 {
        font-size: 26px;
    }
    
    .auth-box p {
        font-size: 14px;
    }
    
    /* Профиль */
    .profile-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-left,
    .profile-right {
        width: 100%;
    }
    
    .profile-header-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-avatar-small {
        margin: 0 auto;
    }
    
    .username-text {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }
    
    .uid-text {
        font-size: 13px;
    }
    
    /* Account info */
    .account-info {
        padding: 20px;
    }
    
    .account-info h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    /* Продукты */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .plan-name {
        font-size: 20px;
    }
    
    .plan-price {
        font-size: 28px;
    }
    
    /* Kits */
    .kits-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .kit-card {
        width: 100%;
        max-width: 320px;
    }
    
    .kits-title {
        font-size: 32px;
    }
    
    /* HWID section */
    .hwid-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    /* Admin panel */
    .admin-section .profile-main {
        flex-direction: column;
    }
    
    .admin-section .profile-left,
    .admin-section .profile-right {
        width: 100%;
    }
    
    /* Cookie banner */
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-banner__btn {
        width: 100%;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    /* Header */
    header {
        padding: 15px 0;
    }
    
    header nav ul {
        gap: 5px;
    }
    
    header nav ul li a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    header .logo {
        font-size: 18px;
    }
    
    header .logo-img {
        width: 32px;
        height: 32px;
    }
    
    /* Hero */
    .hero--info h2 {
        font-size: 18px;
    }
    
    .hero--info h1 {
        font-size: 24px;
    }
    
    .hero--info p {
        font-size: 14px;
    }
    
    .hero--info .btn {
        font-size: 15px;
        padding: 12px 24px;
    }
    
    /* Auth box */
    .auth-box {
        padding: 25px 15px;
        margin: 30px auto;
    }
    
    .auth-box h2 {
        font-size: 22px;
    }
    
    .field label {
        font-size: 14px;
    }
    
    .field input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .auth-btn {
        padding: 13px;
        font-size: 15px;
    }
    
    /* Profile */
    .profile-section {
        padding: 15px 0 40px;
    }
    
    .profile-left {
        padding: 25px 15px;
    }
    
    .account-info {
        padding: 15px;
    }
    
    .subscription-label {
        font-size: 11px;
    }
    
    .subscription-date {
        font-size: 16px;
    }
    
    .key-input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .activate-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Server selection */
    .server-label {
        font-size: 12px;
    }
    
    .server-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .download-status {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .download-btn {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    /* Products */
    .products-header h1 {
        font-size: 28px;
    }
    
    .pricing-card {
        padding: 20px 15px;
    }
    
    .plan-name {
        font-size: 18px;
    }
    
    .plan-price {
        font-size: 24px;
    }
    
    .plan-features li {
        font-size: 13px;
    }
    
    .purchase-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Kits */
    .kits-title {
        font-size: 28px;
    }
    
    .kits-subtitle {
        font-size: 14px;
    }
    
    .kit-card {
        width: 100%;
        max-width: 280px;
        height: 280px;
    }
    
    .centerImg {
        width: 120px;
        height: 120px;
    }
    
    .cardTitle span {
        font-size: 18px;
    }
    
    .priceText,
    .buyText {
        font-size: 16px;
    }
    
    /* Admin */
    .admin-list-container {
        max-height: 120px;
    }
    
    .admin-key-item {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    .admin-user-item {
        padding: 10px;
    }
    
    .admin-user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .admin-user-name {
        font-size: 14px;
    }
    
    .admin-user-id {
        font-size: 12px;
    }
}

/* Ландшафтная ориентация на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 30px 0 40px;
    }
    
    .hero--info h1 {
        font-size: 24px;
    }
    
    .hero--info p {
        font-size: 14px;
        margin: 15px 0 20px;
    }
    
    .auth-box {
        margin: 20px auto;
        padding: 20px;
    }
    
    .profile-section {
        padding: 20px 0 40px;
    }
}

/* Планшеты в портретной ориентации */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .container {
        width: 90%;
    }
    
    .hero {
        gap: 60px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-main {
        gap: 25px;
    }
}

/* Улучшения для сенсорных экранов */
@media (hover: none) and (pointer: coarse) {
    /* Увеличенные области нажатия */
    button,
    a,
    .activate-btn,
    .purchase-btn,
    .download-btn,
    .server-btn,
    .change-password-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Убираем hover эффекты */
    .server-btn:hover,
    .download-btn:hover,
    .activate-btn:hover,
    .purchase-btn:hover {
        transform: none;
    }
    
    /* Активное состояние при нажатии */
    .server-btn:active,
    .download-btn:active,
    .activate-btn:active,
    .purchase-btn:active {
        transform: scale(0.98);
    }
}

/* Очень широкие экраны */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero--info {
        width: 600px;
    }
    
    .hero-gui {
        width: 1000px;
    }
}

/* Исправление для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .field input,
    .key-input {
        font-size: 16px; /* Предотвращает зум при фокусе */
    }
}

/* Темная тема для устройств с предпочтением темной темы */
@media (prefers-color-scheme: dark) {
    /* Уже темная тема по умолчанию */
}

/* Уменьшение анимаций для пользователей с предпочтением */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* Admin link visibility */
.logged-in .auth-admin {
    display: inline-block !important;
}


/* ============================================
   ПОЛНАЯ АДАПТАЦИЯ ДЛЯ ВСЕХ УСТРОЙСТВ
   ============================================ */

/* Планшеты и маленькие ноутбуки (1024px - 1400px) */
@media (max-width: 1400px) {
    .container {
        width: 95%;
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .hero {
        gap: 50px;
        padding: 70px 0 100px;
    }
    
    .hero--info {
        width: 450px;
    }
    
    .hero-gui {
        width: 700px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    
    header {
        padding: 20px 0;
    }
    
    header .logo {
        font-size: 24px;
    }
    
    header .logo-img {
        width: 40px;
        height: 40px;
    }
    
    header nav ul {
        gap: 15px;
    }
    
    header nav ul li a {
        font-size: 14px;
    }
    
    header nav ul li.auth a {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 50px 0 80px;
        text-align: center;
    }
    
    .hero--info {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero--info h2 {
        font-size: 26px;
    }
    
    .hero--info h1 {
        font-size: 36px;
    }
    
    .hero--info p {
        font-size: 16px;
    }
    
    .hero--visual {
        width: 100%;
        justify-content: center;
    }
    
    .hero-gui {
        width: 100%;
        max-width: 700px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .profile-main {
        flex-direction: column;
    }
    
    .profile-left,
    .profile-right {
        width: 100%;
    }
    
    .admin-section .profile-main {
        flex-direction: column;
    }
    
    .admin-section .profile-left,
    .admin-section .profile-right {
        width: 100%;
    }
    
    .auth-box {
        width: 90%;
        max-width: 480px;
        padding: 35px;
    }
    
    .footer-content {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
}

/* Мобильные устройства (480px - 768px) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    header {
        padding: 15px 0;
    }
    
    header .logo {
        font-size: 20px;
        gap: 8px;
    }
    
    header .logo-img {
        width: 36px;
        height: 36px;
    }
    
    header nav {
        float: none;
        width: 100%;
        margin-top: 15px;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    header nav ul li a {
        font-size: 13px;
    }
    
    header nav ul li.auth a {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero {
        padding: 30px 0 50px;
        gap: 30px;
    }
    
    .hero--info h2 {
        font-size: 22px;
    }
    
    .hero--info h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero--info p {
        font-size: 15px;
        margin: 20px 0 25px;
    }
    
    .hero--info .btn {
        font-size: 15px;
        padding: 12px 28px;
    }
    
    .hero-gui {
        width: 100%;
        max-width: 500px;
    }
    
    .auth-box {
        width: 100%;
        padding: 30px 20px;
        margin: 40px auto;
    }
    
    .auth-box h2 {
        font-size: 26px;
    }
    
    .auth-box p {
        font-size: 14px;
    }
    
    .field input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .auth-btn {
        padding: 13px;
        font-size: 15px;
    }
    
    .products-section {
        padding: 40px 0 60px;
    }
    
    .products-header h1 {
        font-size: 28px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 24px;
    }
    
    .plan-name {
        font-size: 20px;
    }
    
    .plan-price {
        font-size: 28px;
    }
    
    .hwid-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .hwid-item .purchase-btn {
        width: 100%;
    }
    
    .kits-title {
        font-size: 32px;
    }
    
    .kits-subtitle {
        font-size: 14px;
    }
    
    .kit-card {
        width: 100%;
        max-width: 300px;
    }
    
    .profile-section {
        padding: 40px 0 60px;
    }
    
    .profile-left {
        padding: 25px 20px;
    }
    
    .profile-header-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .profile-avatar-small {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .profile-username {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .username-text {
        font-size: 20px;
        flex-direction: column;
        gap: 5px;
    }
    
    .uid-text {
        font-size: 13px;
    }
    
    .subscription-label {
        font-size: 12px;
    }
    
    .subscription-date {
        font-size: 16px;
    }
    
    .activation-panel {
        gap: 10px;
    }
    
    .key-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .activate-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .account-info {
        padding: 25px 20px;
    }
    
    .account-info h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .info-label {
        font-size: 11px;
    }
    
    .info-value {
        font-size: 14px;
    }
    
    .server-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .server-btn {
        width: 100%;
        padding: 12px;
        font-size: 13px;
    }
    
    .download-btn {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .download-status {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-section ul li {
        font-size: 13px;
    }
    
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-banner__btn {
        width: 100%;
    }
    
    .purchase-modal {
        width: 95%;
        max-width: 450px;
        padding: 25px 20px;
    }
    
    .purchase-modal-header h2 {
        font-size: 20px;
    }
    
    .purchase-row {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .purchase-promo-group {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .purchase-input {
        width: 100%;
    }
    
    .purchase-secondary-btn,
    .purchase-primary-btn {
        width: 100%;
    }
    
    .purchase-payments {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .purchase-pay-btn {
        width: 100%;
    }
}

/* Маленькие мобильные устройства (320px - 480px) */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    header {
        padding: 12px 0;
    }
    
    header .logo {
        font-size: 18px;
    }
    
    header .logo-img {
        width: 32px;
        height: 32px;
    }
    
    header nav ul {
        gap: 8px;
    }
    
    header nav ul li a {
        font-size: 12px;
    }
    
    header nav ul li.auth a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero {
        padding: 20px 0 40px;
    }
    
    .hero--info h2 {
        font-size: 18px;
    }
    
    .hero--info h1 {
        font-size: 24px;
    }
    
    .hero--info p {
        font-size: 14px;
        margin: 15px 0 20px;
    }
    
    .hero--info .btn {
        font-size: 14px;
        padding: 10px 24px;
    }
    
    .auth-box {
        padding: 25px 15px;
        margin: 30px auto;
    }
    
    .auth-box h2 {
        font-size: 22px;
    }
    
    .auth-box p {
        font-size: 13px;
    }
    
    .field label {
        font-size: 13px;
    }
    
    .field input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .auth-btn {
        padding: 11px;
        font-size: 14px;
    }
    
    .products-header h1 {
        font-size: 24px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .plan-name {
        font-size: 18px;
    }
    
    .plan-price {
        font-size: 24px;
    }
    
    .plan-features li {
        font-size: 13px;
    }
    
    .pricing-card .purchase-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .kits-title {
        font-size: 26px;
    }
    
    .kit-card {
        max-width: 100%;
        height: 280px;
    }
    
    .centerImg {
        width: 120px;
        height: 120px;
    }
    
    .profile-left {
        padding: 20px 15px;
    }
    
    .profile-avatar-small {
        width: 70px;
        height: 70px;
    }
    
    .username-text {
        font-size: 18px;
    }
    
    .uid-text {
        font-size: 12px;
    }
    
    .subscription-date {
        font-size: 15px;
    }
    
    .key-input {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .activate-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .account-info {
        padding: 20px 15px;
    }
    
    .account-info h3 {
        font-size: 15px;
    }
    
    .info-label {
        font-size: 10px;
    }
    
    .info-value {
        font-size: 13px;
    }
    
    .server-btn {
        padding: 10px;
        font-size: 12px;
    }
    
    .download-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .download-status {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .footer-logo {
        font-size: 22px;
    }
    
    .footer-logo-img {
        width: 36px;
        height: 36px;
    }
    
    .footer-desc {
        font-size: 13px;
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-banner__content {
        padding: 14px 16px;
    }
    
    .cookie-banner__title {
        font-size: 11px;
    }
    
    .cookie-banner__desc {
        font-size: 12px;
    }
    
    .cookie-banner__btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Ландшафтная ориентация для мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 30px 0;
    }
    
    .hero--info h1 {
        font-size: 24px;
    }
    
    .hero--info p {
        margin: 15px 0 20px;
    }
    
    .hero-gui {
        max-width: 400px;
    }
    
    .auth-box {
        margin: 30px auto;
    }
    
    .profile-header-row {
        flex-direction: row;
        text-align: left;
    }
    
    .profile-avatar-small {
        margin: 0;
    }
    
    .profile-username {
        flex-direction: row;
        align-items: baseline;
    }
}

/* Очень большие экраны (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero--info h1 {
        font-size: 48px;
    }
    
    .hero--info h2 {
        font-size: 34px;
    }
    
    .hero--info p {
        font-size: 18px;
    }
    
    .hero-gui {
        width: 1000px;
    }
}

/* Улучшения для touch устройств */
@media (hover: none) and (pointer: coarse) {
    header nav ul li a {
        padding: 10px 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn,
    .auth-btn,
    .activate-btn,
    .purchase-btn,
    .download-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .server-btn {
        min-height: 44px;
    }
    
    .key-input,
    .field input {
        min-height: 44px;
        font-size: 16px; /* Предотвращает zoom на iOS */
    }
}

/* ============================================
   ACCESSIBILITY FEATURES
   ============================================ */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn,
    .auth-btn,
    .activate-btn {
        border: 2px solid #ffffff;
    }
    
    .field input {
        border-width: 3px;
    }
}

/* ============================================
   RESPONSIVE BREAKPOINTS SUMMARY
   ============================================
   
   Breakpoint System (8 breakpoints):
   - 480px:  Extra small mobile
   - 640px:  Small mobile
   - 768px:  Tablet (portrait)
   - 900px:  Large tablet
   - 1024px: Small desktop
   - 1200px: Medium desktop
   - 1400px: Large desktop
   - 1920px: Extra large desktop
   
   Container Widths:
   - < 420px:        100% width, 15px padding
   - 420px-640px:    100% width, 20px padding
   - 640px-768px:    95% width, max 720px, 24px padding
   - 768px-1024px:   95% width, max 960px
   - 1024px-1200px:  95% width, max 960px
   - 1200px-1400px:  95% width, max 1200px
   - 1400px-1920px:  max 1320px
   - 1920px+:        max 1600px
   
   ============================================ */


/* ============================================
   TASK 3: RESPONSIVE HERO SECTION
   Mobile vertical stack → Tablet optimized → Desktop horizontal
   ============================================ */

/* Task 3.1: Mobile hero layout (< 900px) - vertical stack */
@media (max-width: 899px) {
    .hero {
        flex-direction: column;
        gap: 40px;
        padding: 50px 0 70px;
        text-align: center;
    }
    
    .hero--info {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero--visual {
        width: 100%;
        justify-content: center;
    }
    
    .hero-gui {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
}

/* Task 3.2: Tablet hero layout (768px-900px) */
@media (min-width: 768px) and (max-width: 899px) {
    .hero {
        padding: 60px 0 80px;
        gap: 50px;
    }
    
    .hero-gui {
        max-width: 700px;
    }
}

/* Task 3.3: Responsive typography for hero section */
/* Extra small mobile (< 480px) */
@media (max-width: 479px) {
    .hero--info h1 {
        font-size: clamp(18px, 6vw, 24px);
        line-height: 1.2;
    }
    
    .hero--info h2 {
        font-size: clamp(16px, 5vw, 20px);
    }
    
    .hero--info p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Small mobile (480px-767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .hero--info h1 {
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.2;
    }
    
    .hero--info h2 {
        font-size: clamp(18px, 5vw, 24px);
    }
    
    .hero--info p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Tablet (768px-899px) */
@media (min-width: 768px) and (max-width: 899px) {
    .hero--info h1 {
        font-size: clamp(26px, 6vw, 36px);
        line-height: 1.15;
    }
    
    .hero--info h2 {
        font-size: clamp(22px, 5vw, 28px);
    }
    
    .hero--info p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* ============================================
   TASK 4: RESPONSIVE AUTHENTICATION FORMS
   Mobile full-width → Tablet constrained → Desktop fixed
   ============================================ */

/* Task 4.1: Mobile form layout (< 768px) */
@media (max-width: 767px) {
    .auth-box {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        margin: 40px auto;
        box-sizing: border-box;
    }
    
    .field input,
    .key-input {
        width: 100%;
        padding: 12px 14px;
        min-height: 44px;
        box-sizing: border-box;
    }
}

/* Task 4.2: Style form labels and buttons for mobile */
@media (max-width: 767px) {
    .field label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .auth-btn,
    .activate-btn,
    .change-password-btn {
        width: 100%;
        min-height: 44px;
        padding: 13px 16px;
        font-size: 15px;
    }
    
    .turnstile-row {
        display: flex;
        justify-content: center;
        margin: 15px 0;
    }
}

/* Task 4.3: iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .field input,
    .key-input,
    .purchase-input {
        font-size: 16px !important; /* Prevent iOS zoom */
    }
}

/* Additional iOS viewport height fix */
.wrapper {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* ============================================
   TASK 5: RESPONSIVE PROFILE PAGE
   Mobile vertical stack → Tablet optimized → Desktop two-column
   ============================================ */

/* Task 5.1: Mobile profile layout (< 1024px) */
@media (max-width: 1023px) {
    .profile-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .profile-left,
    .profile-right {
        width: 100%;
    }
    
    .profile-header-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
    }
    
    .profile-avatar-small {
        margin: 0 auto;
    }
    
    .profile-username {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* Task 5.2: Adapt subscription information for mobile */
@media (max-width: 1023px) {
    .subscription-info {
        padding-bottom: 14px;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .subscription-info:last-of-type {
        border-bottom: none;
    }
    
    .profile-avatar-small {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 767px) {
    .profile-avatar-small {
        width: 75px;
        height: 75px;
    }
}

/* Task 5.3: Adapt activation key input for mobile */
@media (max-width: 767px) {
    .activation-panel {
        flex-direction: column;
        gap: 10px;
    }
    
    .key-input {
        width: 100%;
        min-height: 44px;
    }
    
    .activate-btn {
        width: 100%;
        min-height: 44px;
    }
}

/* Task 5.4: Adapt server selection for mobile */
@media (max-width: 767px) {
    .server-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .server-btn {
        width: 100%;
        min-height: 44px;
        padding: 12px 16px;
    }
}

/* Task 5.5: Adapt download button and account info for mobile */
@media (max-width: 767px) {
    .download-btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .info-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .info-value {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .hwid-value {
        word-break: break-all;
        font-size: 12px;
    }
}

/* ============================================
   TASK 6: RESPONSIVE PRODUCT GRID AND PRICING CARDS
   Mobile single column → Tablet two columns → Desktop three columns
   ============================================ */

/* Task 6.1: Mobile product grid (< 768px) */
@media (max-width: 767px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
}

/* Task 6.2: Tablet product grid (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Task 6.3: Style pricing card content for mobile */
@media (max-width: 767px) {
    .plan-name {
        font-size: 20px;
    }
    
    .plan-price {
        font-size: 28px;
        overflow-wrap: break-word;
    }
    
    .pricing-card .purchase-btn {
        width: 100%;
        min-height: 44px;
        padding: 13px 16px;
        font-size: 15px;
    }
}

/* Task 6.4: Adapt kit cards for mobile */
@media (max-width: 767px) {
    .kits-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .kit-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 479px) {
    .kit-card {
        max-width: 100%;
        height: 280px;
    }
    
    .centerImg {
        width: 120px;
        height: 120px;
    }
}

/* Task 6.5: Adapt HWID reset section for mobile */
@media (max-width: 767px) {
    .hwid-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .hwid-item .purchase-btn {
        width: 100%;
        min-height: 44px;
    }
}

/* ============================================
   TASK 7: RESPONSIVE MODAL COMPONENT
   Mobile bottom sheet → Tablet centered → Desktop centered
   ============================================ */

/* Task 7.1: Mobile modal layout (< 640px) - bottom sheet style */
@media (max-width: 639px) {
    .purchase-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    
    .purchase-modal {
        width: 100%;
        max-width: none;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        overflow-y: auto;
    }
    
    .purchase-modal-header,
    .purchase-modal-body,
    .purchase-modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Task 7.2: Stack modal content vertically on mobile */
@media (max-width: 639px) {
    .purchase-promo-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .purchase-input {
        width: 100%;
    }
    
    .purchase-payments {
        flex-direction: column;
        gap: 10px;
    }
    
    .purchase-pay-btn {
        width: 100%;
        min-height: 44px;
    }
    
    .purchase-modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .purchase-secondary-btn,
    .purchase-primary-btn {
        width: 100%;
        min-height: 44px;
    }
}

/* ============================================
   TASK 8: RESPONSIVE ADMIN DASHBOARD
   Mobile vertical stack → Tablet optimized → Desktop two-column
   ============================================ */

/* Task 8.1: Mobile admin layout (< 1024px) */
@media (max-width: 1023px) {
    .admin-section .profile-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .admin-section .profile-left,
    .admin-section .profile-right {
        width: 100%;
    }
    
    .admin-compact-input,
    .key-input {
        width: 100%;
        min-height: 44px;
    }
    
    .admin-compact-button,
    .activate-btn {
        width: 100%;
        min-height: 44px;
    }
}

/* Task 8.2: Adapt admin lists for mobile */
@media (max-width: 767px) {
    .admin-list-container {
        max-height: 130px;
        overflow-y: auto;
    }
    
    .admin-keys-list {
        max-height: 140px;
    }
    
    .admin-key-item {
        padding: 10px 12px;
    }
    
    .admin-key-row,
    .admin-key-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .admin-key-value {
        word-break: break-all;
        max-width: 100%;
    }
    
    .admin-user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .admin-user-avatar {
        align-self: center;
    }
    
    .admin-user-info {
        width: 100%;
        text-align: center;
    }
}

/* Task 8.3: Style admin form controls for mobile */
@media (max-width: 767px) {
    .admin-role-select,
    select {
        min-height: 44px;
        width: 100%;
    }
}

/* ============================================
   TASK 9: RESPONSIVE COOKIE BANNER
   Mobile vertical stack → Desktop horizontal
   ============================================ */

/* Task 9.1: Mobile cookie banner layout (< 640px) */
@media (max-width: 639px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 14px 16px;
    }
    
    .cookie-banner__actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
}

/* Task 9.2: Style cookie banner content for mobile */
@media (max-width: 639px) {
    .cookie-banner__title {
        font-size: 11px;
    }
    
    .cookie-banner__desc {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .cookie-banner__btn {
        width: 100%;
        font-size: 12px;
        padding: 10px 14px;
        min-height: 44px;
    }
}

/* ============================================
   TASK 10: RESPONSIVE FOOTER
   Mobile single column → Tablet two columns → Desktop multi-column
   ============================================ */

/* Task 10.1: Mobile footer layout (< 640px) */
@media (max-width: 639px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-logo {
        font-size: 24px;
        gap: 10px;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .footer-description {
        font-size: 14px;
    }
    
    .footer-list li a {
        font-size: 13px;
    }
    
    .footer-bottom {
        text-align: left;
    }
}

/* Task 10.2: Tablet footer layout (640px-1024px) */
@media (min-width: 640px) and (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        gap: 35px;
    }
    
    .footer-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* ============================================
   TASK 11: TOUCH INTERFACE OPTIMIZATIONS
   Ensure minimum 44px touch targets and adequate spacing
   ============================================ */

/* Task 11.1: Ensure minimum touch target sizes */
@media (hover: none) and (pointer: coarse) {
    button,
    a.btn,
    .auth-btn,
    .activate-btn,
    .purchase-btn,
    .download-btn,
    .server-btn,
    .change-password-btn,
    .purchase-secondary-btn,
    .purchase-primary-btn,
    .purchase-pay-btn,
    .cookie-banner__btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
    }
    
    header nav ul li a {
        min-height: 44px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .field input,
    .key-input,
    .purchase-input,
    select,
    textarea {
        min-height: 44px;
        font-size: 16px; /* Prevent iOS zoom */
    }
    
    .notification-close {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Task 11.2: Add adequate spacing for touch devices */
@media (hover: none) and (pointer: coarse) {
    header nav ul {
        gap: 10px;
    }
    
    header nav ul li {
        margin: 4px 0;
    }
    
    .field {
        margin-bottom: 18px;
    }
    
    /* Remove hover effects on touch devices */
    button:hover,
    .activate-btn:hover,
    .purchase-btn:hover,
    .download-btn:hover {
        transform: none;
    }
    
    /* Add active state for touch feedback */
    button:active,
    .activate-btn:active,
    .purchase-btn:active,
    .download-btn:active {
        transform: scale(0.98);
    }
}

/* ============================================
   TASK 12: LANDSCAPE ORIENTATION SUPPORT
   Optimize layouts for landscape mode on mobile devices
   ============================================ */

/* Task 12.1: Adapt layouts for landscape mode (height < 600px) */
@media (max-height: 600px) and (orientation: landscape) {
    header {
        padding: 12px 0;
    }
    
    .hero {
        padding: 25px 0 40px;
        gap: 20px;
    }
    
    .hero-gui {
        max-width: 400px;
        max-height: 300px;
    }
    
    .auth-box {
        margin: 25px auto;
        padding: 20px;
    }
    
    .profile-section {
        padding: 20px 0 40px;
    }
    
    .subscription-info {
        padding: 10px 0;
        margin-bottom: 10px;
    }
}

/* Task 12.2: Adapt profile header for landscape */
@media (max-width: 767px) and (orientation: landscape) and (max-height: 600px) {
    .profile-header-row {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
    
    .profile-avatar-small {
        margin: 0;
    }
    
    .profile-username {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }
    
    header nav ul {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

/* ============================================
   TASK 13: RESPONSIVE NOTIFICATION SYSTEM
   Adapt notifications for mobile devices
   ============================================ */

/* Task 13.1: Adapt notifications for mobile */
@media (max-width: 767px) {
    .notification-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 14px 16px;
    }
    
    .notification-message {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 479px) {
    .notification {
        padding: 12px 14px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

/* Task 13.2: Ensure notification close buttons are touch-friendly */
@media (max-width: 767px) {
    .notification-close {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   TASK 14: RESPONSIVE STATUS PAGES
   Adapt 200.php, 404.php and payment status pages for mobile
   ============================================ */

/* Task 14.1: Adapt status pages for mobile */
@media (max-width: 899px) {
    .status-page-site {
        padding: 50px 0 80px;
    }
    
    .status-hero {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .status-hero-info {
        width: 100%;
        max-width: 600px;
    }
    
    .status-hero-visual {
        width: 100%;
        height: auto;
        max-height: 350px;
    }
    
    .status-hero-visual img {
        width: clamp(220px, 50vw, 285px);
        height: clamp(220px, 50vw, 285px);
    }
    
    .status-hero-info h1 {
        font-size: clamp(30px, 8vw, 46px);
        line-height: 1.05;
    }
    
    .status-actions {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .status-page-site {
        padding: 40px 0 60px;
    }
    
    .status-hero-visual img {
        width: clamp(200px, 45vw, 250px);
        height: clamp(200px, 45vw, 250px);
    }
}

/* Task 14.2: Style status page buttons for mobile */
@media (max-width: 767px) {
    .status-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }
    
    .status-primary,
    .status-secondary {
        width: 100%;
        min-height: 44px;
        padding: 13px 24px;
        text-align: center;
    }
    
    .status-hero-info p {
        font-size: clamp(15px, 4vw, 17px);
        line-height: 1.6;
    }
}

/* ============================================
   TASK 15: ACCESSIBILITY FEATURES
   Reduced motion, high contrast, print styles, high DPI
   ============================================ */

/* Task 15.1: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-gui,
    .status-hero-visual img {
        animation: none !important;
    }
}

/* Task 15.2: High contrast mode support */
@media (prefers-contrast: high) {
    .btn,
    .auth-btn,
    .activate-btn,
    .purchase-btn,
    .download-btn,
    .server-btn {
        border: 2px solid currentColor;
    }
    
    .field input,
    .key-input,
    .purchase-input {
        border-width: 3px;
    }
    
    .pricing-card,
    .profile-left,
    .account-info,
    .admin-key-item {
        border-width: 2px;
    }
}

/* Task 15.3: Print styles */
@media print {
    header nav,
    .auth-btn,
    .activate-btn,
    .purchase-btn,
    .download-btn,
    .server-btn,
    .change-password-btn,
    .cookie-banner,
    .notification-container,
    .purchase-modal-overlay,
    .hero--info .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .profile-left,
    .account-info,
    .pricing-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        padding: 10px;
        background: white;
    }
    
    .hero,
    .profile-main,
    .pricing-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* Task 15.4: High DPI screen optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .hero-gui,
    .kit-card img,
    .profile-avatar-small img,
    .status-hero-visual img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ============================================
   ADDITIONAL MOBILE OPTIMIZATIONS
   Fine-tuning for specific edge cases
   ============================================ */

/* Very small screens (< 360px) */
@media (max-width: 359px) {
    .container {
        padding: 0 10px;
    }
    
    header .logo {
        font-size: 16px;
    }
    
    header .logo-img {
        width: 28px;
        height: 28px;
    }
    
    .hero--info h1 {
        font-size: 20px;
    }
    
    .auth-box {
        padding: 20px 12px;
    }
}

/* Tablet landscape specific optimizations */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 60px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large mobile in landscape */
@media (min-width: 640px) and (max-width: 899px) and (orientation: landscape) {
    .hero {
        flex-direction: row;
        text-align: left;
    }
    
    .hero--info {
        width: 50%;
    }
    
    .hero--visual {
        width: 50%;
    }
}

/* Fix for notched devices (iPhone X and newer) */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .cookie-banner {
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
    }
    
    .notification-container {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
    }
}

/* ============================================
   END OF RESPONSIVE IMPLEMENTATION
   All tasks 3-15 completed
   ============================================ */
/* Layout stability overrides */
body {
    min-width: 320px;
}

.wrapper {
    overflow: visible;
}

header.container {
    position: relative;
    z-index: 20;
}

.hero {
    align-items: flex-start;
    gap: 32px;
    padding: 36px 0 96px;
}

.hero--info {
    width: min(100%, 640px);
}

.hero--visual {
    min-height: 0;
    flex: 0 0 0;
}

@media (max-width: 1024px) {
    .hero {
        padding: 24px 0 72px;
    }
}

@media (max-width: 900px) {
    header.container {
        align-items: stretch;
    }

    .hero {
        padding-top: 16px;
    }
}

@media (max-width: 640px) {
    header {
        padding: 12px 0;
    }

    .hero {
        padding: 12px 0 48px;
    }

    .auth-box {
        width: min(100%, 480px);
        margin: 28px auto;
        padding: 28px 18px;
    }
}
