:root {
    --primary-color: #FF8C00;
    --primary-light: #FFA733;
    --primary-dark: #E67300;
    --secondary-color: #FFA500;
    --secondary-dark: #E67300;
    --accent-color: #FF6B00;
    --text-light: #e0e0e0;
    --text-dark: #212121;
    --text-muted: #a0a0a0;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --shadow-color: rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #FF4500);
    --font-main: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --button-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
    --hover-shadow: 0 6px 18px rgba(255, 140, 0, 0.4);
    --header-background: #070707;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Orbitron', sans-serif;
    color: #e0e0e0;
    background-color: #0a0a0a;
    background-image: 
        linear-gradient(15deg, #181818 0%, #232323 100%),
        radial-gradient(circle at 75% 100%, rgba(255, 140, 0, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 25% 100%, rgba(255, 140, 0, 0.01) 0%, transparent 40%);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

header {
    background-color: rgba(7, 7, 7, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.7);
}

#nav-menu {
    display: flex;
    list-style: none;
}

#nav-menu li {
    margin-left: 2rem;
    position: relative;
}

#nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

#nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

#nav-menu a:hover {
    color: var(--primary-light);
}

#nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.content-section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.device-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.device-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(255,140,0,0.08), 0 1.5px 6px rgba(0,0,0,0.18);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.device-item:hover {
    box-shadow: 0 12px 36px rgba(255,140,0,0.18), 0 4px 16px rgba(0,0,0,0.28);
    transform: translateY(-8px) scale(1.03);
    background-color: var(--bg-card-hover);
    border-color: rgba(255, 140, 0, 0.3);
}

.device-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #000;
}

.device-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.device-item:hover .device-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.device-info {
    padding: 1.5rem;
    position: relative;
}

.device-info h3 {
    color: var(--primary-light);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.device-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.device-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.device-item:hover::before {
    transform: scaleX(1);
}

.device-details {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.98);
    z-index: 2100;
    min-width: 320px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px 0 rgba(0,0,0,0.7);
    animation: fadeInModal 0.4s cubic-bezier(0.4,0,0.2,1);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    background-color: var(--bg-card);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.device-details.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translate(-50%, -40%) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.device-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.device-details-header h3 {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.close-details {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(255,140,0,0.15);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.close-details:hover {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,0,0.25);
}

.device-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.device-gallery img {
    border-radius: 8px;
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.device-description {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.device-details h4 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.specs-table-container {
    margin: 1.5rem 0;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th,
.specs-table td {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.specs-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.specs-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.device-features {
    list-style: none;
    margin: 1.5rem 0;
}

.device-features li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.device-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.device-features li ul {
    margin: 0.8rem 0 0.8rem 1.5rem;
}

.buy-btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,0,0.18);
    border: none;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.buy-btn:hover {
    background: var(--gradient-primary);
    box-shadow: 0 8px 32px rgba(255,140,0,0.25);
    transform: translateY(-2px) scale(1.04);
}

.terminal-container {
    background: #000;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #333;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-close {
    background-color: #FF5F56;
}

.terminal-minimize {
    background-color: #FFBD2E;
}

.terminal-maximize {
    background-color: #27C93F;
}

.terminal-title {
    color: #ccc;
    font-size: 0.9rem;
}

.terminal-content {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #EEE;
    max-height: 400px;
    overflow-y: auto;
}

.terminal-welcome {
    margin-bottom: 1rem;
}

.terminal-line {
    display: block;
    margin-bottom: 0.3rem;
}

.terminal-prompt {
    color: var(--primary-light);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background-color: #EEE;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.command-examples {
    list-style: none;
    margin-top: 1rem;
}

.command-examples li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.command-examples code {
    color: var(--primary-color);
    margin-right: 0.5rem;
    padding: 0.1rem 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.command-desc {
    color: var(--text-muted);
    font-style: italic;
}

.battery-indicator {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.battery-graphic {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.battery-icon {
    width: 100px;
    height: 40px;
    border: 3px solid white;
    border-radius: 5px;
    position: relative;
    margin-right: 0.5rem;
}

.battery-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 16px;
    background: white;
    top: 50%;
    right: -11px;
    transform: translateY(-50%);
    border-radius: 0 3px 3px 0;
}

.battery-level {
    position: absolute;
    top: 3px;
    left: 3px;
    bottom: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.battery-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-light);
}

.device-versions {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.device-versions ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 1rem;
    gap: 1rem;
}

.device-versions li {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.device-versions li:hover {
    background-color: rgba(255, 140, 0, 0.2);
    transform: translateY(-2px);
}

.marauder-functions {
    margin: 1.5rem 0;
}

.function-category {
    margin-bottom: 1.5rem;
}

.function-category h5 {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.function-group {
    padding-left: 1rem;
    border-left: 2px solid var(--primary-color);
}

.function-group p {
    margin-bottom: 0.8rem;
}

.function-group strong {
    color: var(--primary-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

footer {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.telegram-btn {
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--button-shadow);
}

.telegram-btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

@media (max-width: 992px) {
    .device-list {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .device-details {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    #nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        padding: 1rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-out;
        z-index: 1000;
    }
    
    #nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    #nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    #nav-menu a {
        display: block;
        padding: 1rem 2rem;
    }
    
    #nav-menu a::after {
        display: none;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    main {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .device-details-header h3 {
        font-size: 1.6rem;
    }
    
    .device-details {
        min-width: 0;
        width: 98vw;
        max-width: 98vw;
        max-height: 95vh;
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .device-list {
        grid-template-columns: 1fr;
    }
    
    .device-gallery {
        flex-direction: column;
    }
    
    .device-gallery img {
        width: 100%;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.75);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    display: block;
}

.specs-table-section {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    margin: 1.2rem 0 0.5rem 0;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 8px rgba(255,140,0,0.08);
} 