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

:root {
    --main-bg: #121212;
    --card-bg: #1e1e1e;
    --dark-accent: #2c2c2c;
    --text-primary: #ffffff;
    --text-secondary: #bbbbbb;
    --gradient-primary: linear-gradient(45deg, #4e8cff, #7a6cff);
    --gradient-hover: linear-gradient(45deg, #3a6ccc, #6e5ee8);
    --gradient-accent: linear-gradient(45deg, #4e8cff, #a353ff);
    --shadow-primary: 0 4px 15px rgba(78, 140, 255, 0.3);
    --shadow-hover: 0 6px 20px rgba(78, 140, 255, 0.4);
    --border-color: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-text: 'Raleway', 'Inter', sans-serif;
    --container-width: 1400px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--main-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    cursor: auto;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.pixel-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.pixel-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #2d3fdc, #5e72e4);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(78, 140, 255, 0.4);
    position: relative;
    transform: translateZ(0);
    overflow: hidden;
    top: 0;
    left: 0;
}

.pixel-button:hover {
    background: linear-gradient(45deg, #4178e6, #8f45e8);
}

.pixel-button:active {
    transform: none;
    box-shadow: 0 2px 5px rgba(78, 140, 255, 0.3);
    transition: all 0.1s ease-out;
    top: 0;
    left: 0;
}

.pixel-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.5s ease;
}

.pixel-button:hover::before {
    left: 100%;
}

.button-container {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    z-index: 100;
}

.click-counter {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #ff5e7a;
    text-align: center;
    transition: all 0.2s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-shadow: 0 0 5px rgba(255, 94, 122, 0.5);
    z-index: 101;
}

.digit-counter-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.digit-container {
    position: relative;
    width: 20px;
    height: 30px;
    overflow: hidden;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 4px;
    display: inline-block;
}

.rolling-digit {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: #ff5e7a;
    text-shadow: 0 0 5px rgba(255, 94, 122, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.rolling-digit.new {
    transform: translateY(100%);
    opacity: 0;
}

.rolling-digit.old {
    transform: translateY(-100%);
    opacity: 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: block;
    width: 100%;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 3px;
    background: linear-gradient(90deg, #4e8cff, #a353ff);
}

header {
    background-color: transparent;
    padding: 20px;
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.logo-image {
    width: 48px;
    height: 48px;
    margin-right: 10px;
}

.logo-image-small {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.gradient-text {
    background: linear-gradient(270deg, #4e8cff, #a353ff, #ff5e7a, #ffb64c, #4e8cff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(78, 140, 255, 0.2);
    animation: gradientAnimation 8s ease infinite;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    font-size: 15px;
    transition: color 0.3s ease;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--text-primary);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 40px;
    position: relative;
}

.hero-content {
    width: 50%;
    text-align: left;
    padding-right: 30px;
    z-index: 2;
    order: 1;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    font-family: var(--font-heading);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-family: var(--font-text);
    font-weight: 400;
}

.pixel-art-computer {
    width: 45%;
    position: relative;
    z-index: 1;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.pixel-art-computer img, .computer-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(78, 140, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease;
    transform: scale(1);
    object-fit: cover;
    object-position: center;
}

.pixel-art-computer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(78, 140, 255, 0.05), rgba(163, 83, 255, 0.05));
    pointer-events: none;
    z-index: 2;
}

.pixel-art-computer:hover img {
    transform: scale(1.02);
}

section {
    padding: 80px 20px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about .section-title {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 100%;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
    width: auto;
}

.about .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 3px;
    background: var(--gradient-accent);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    gap: 40px;
}

.pixel-art-coder {
    width: 30%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.art-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 300px;
}

.about-text {
    width: 65%;
    text-align: left;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    max-width: var(--container-width);
    justify-items: center;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 100%;
}

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

.python-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.python-logo img, .service-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
}

.events {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.events .section-title {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 100%;
    position: relative;
    padding-bottom: 20px;
    display: block;
}

.events .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 3px;
    background: var(--gradient-accent);
}

.events-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 0;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    width: 100%;
    margin-bottom: 40px;
    justify-content: center;
    place-items: center;
    max-width: 1600px;
}

.event-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
    max-width: 420px;
    position: relative;
}

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

.event-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
}

.event-title {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.event-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.event-location {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.event-location svg {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.event-button {
    display: inline-block;
    background: linear-gradient(45deg, #5c6bc0, #8e24aa);
    color: #fff;
    padding: 8px 16px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 3px 8px rgba(92, 107, 192, 0.3);
}

.event-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(92, 107, 192, 0.4);
    background: linear-gradient(45deg, #4d5cb0, #7b1fa2);
}

.event-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(92, 107, 192, 0.3);
}

.event-button.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    position: relative;
}

.event-button.disabled:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: pre-line;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    min-width: 150px;
    line-height: 1.4;
}

.event-button.disabled:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.events-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.view-all-button {
    display: inline-block;
    background: #2c2c2c;
    color: #fff;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #4e8cff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.view-all-button:hover {
    background: #4e8cff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(78, 140, 255, 0.3);
}

.no-events {
    color: var(--text-secondary);
    text-align: center;
    padding: 30px;
    font-style: italic;
}

.event-date {
    display: flex;
    align-items: center;
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 16px;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.event-date-day {
    margin-right: 8px;
}

.event-date-time {
    font-weight: 600;
}

.portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 80px 20px;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    width: 100%;
    max-width: var(--container-width);
}

.portfolio-item {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 100%;
    margin: 0 10px 20px;
    border: none;
}

.portfolio-item:hover {
    transform: none;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #1e1e1e;
    border: none;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: none;
    box-shadow: none;
    border: none;
}

.portfolio-item:hover .portfolio-image img {
    transform: none;
}

.portfolio-item h3 {
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-align: center;
}

.portfolio-details {
    padding: 0 20px 20px;
    text-align: center;
}

.portfolio-details p {
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.portfolio-details h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.portfolio-details ul {
    margin-bottom: 20px;
    padding-left: 20px;
    text-align: left;
}

.portfolio-details ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.tech-tag {
    background-color: var(--dark-accent);
    color: #4e8cff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--font-heading);
}

footer {
    padding: 60px 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
    max-width: 1200px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-links h3, 
.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    display: block;
    font-weight: 600;
    padding-bottom: 10px;
}

.footer-links h3::after, 
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
}

.footer-links ul {
    list-style: none;
    margin-top: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--dark-accent);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #3a3a3a;
}

.social-image {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    width: 100%;
    max-width: var(--container-width);
}

.portfolio-button {
    display: inline-block;
    background: linear-gradient(45deg, #4e8cff, #a353ff);
    color: #fff;
    padding: 10px 20px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(78, 140, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.portfolio-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(78, 140, 255, 0.4);
    background: linear-gradient(45deg, #4178e6, #8f45e8);
}

.portfolio-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(78, 140, 255, 0.3);
}

.portfolio-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.portfolio-button:hover::after {
    opacity: 1;
}

.portfolio-button.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

.portfolio-button.disabled:hover {
    transform: none;
    box-shadow: none;
    background: #666;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 40px;
    }
    
    .hero-content {
        width: 48%;
        text-align: left;
        margin-bottom: 0;
        order: 1;
    }
    
    .pixel-art-computer {
        width: 48%;
        height: 350px;
        order: 2;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-links h3::after, 
    .footer-social h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
    }

    .pixel-art-coder {
        width: 80%;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-text {
        width: 100%;
        text-align: center;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-content h2 {
        font-size: 32px;
        text-align: center;
        width: 100%;
    }

    .hero-content p {
        text-align: center;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
        order: 1;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .pixel-art-computer {
        width: 100%;
        max-width: 300px;
        height: 300px;
        order: 2;
        margin: 0 auto;
    }

    .events-container {
        padding: 25px 15px;
        width: 100%;
    }

    .events-list {
        width: 100%;
        place-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .event-card {
        max-width: 100%;
    }

    .events .section-title::after {
        width: 150px;
    }

    section {
        padding: 60px 15px;
        display: flex;
        align-items: center;
    }

    .about .section-title {
        text-align: center;
        width: 100%;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        max-width: 100%;
    }

    .pixel-art-coder {
        width: 90%;
        max-width: 300px;
    }

    .about-text {
        text-align: center;
        padding: 0;
    }

    .about-text p {
        text-align: center;
        padding: 0 5px;
    }

    .all-events-list {
        grid-template-columns: 1fr;
    }
    
    .events-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }

    .hero-content h2 {
        font-size: 28px;
        text-align: center;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content p {
        font-size: 16px;
        text-align: center;
        padding: 0 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pixel-button {
        padding: 12px 24px;
        font-size: 14px;
        margin: 0 auto;
    }

    .hero-container {
        padding: 40px 15px;
        text-align: center;
        width: 100%;
    }

    .events-container {
        padding: 20px 15px;
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
    }

    .events-list {
        width: 100%;
        max-width: 100%;
        gap: 25px;
        justify-content: center;
        place-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .event-card {
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .event-image {
        height: 200px;
    }

    .event-content {
        padding: 20px;
    }

    .event-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .event-description {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .event-date {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .event-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .view-all-button {
        padding: 12px 24px;
        font-size: 16px;
    }

    .events .section-title::after {
        width: 120px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    section {
        padding: 50px 15px;
        width: 100%;
    }

    .about-content {
        padding: 0 10px;
    }

    .pixel-art-coder {
        width: 95%;
    }

    .about-text p {
        font-size: 15px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.events-page {
    padding: 60px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.events-page .section-title {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 100%;
    position: relative;
    padding-bottom: 20px;
}

.events-page .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 3px;
    background: var(--gradient-accent, linear-gradient(45deg, #4e8cff, #a353ff));
}

.all-events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.all-events-list .event-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.event-card.past-event {
    opacity: 0.7;
    position: relative;
}

.event-card.past-event::before {
    content: "Прошедшее событие";
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 11;
    backdrop-filter: blur(4px);
}

@media (max-width: 1200px) {
    .all-events-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .all-events-list {
        grid-template-columns: 1fr;
    }
    
    .events-filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 140, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(78, 140, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(78, 140, 255, 0);
    }
}

.pixel-button:focus {
    animation: pulse 1.5s infinite;
}

.portfolio-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

.tech-tag.more-tag {
    background-color: #444;
    font-weight: 700;
}

.portfolio-actions .view-all-button {
    display: inline-block;
    background: #2c2c2c;
    color: #fff;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #4e8cff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.button-activation-time {
    display: none;
}

.activation-message {
    display: none;
}

.events-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-button {
    padding: 10px 20px;
    background-color: #2c2c2c;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #bbbbbb;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.filter-button.active {
    background: linear-gradient(45deg, #4e8cff, #7a6cff);
    color: white;
    box-shadow: 0 4px 10px rgba(78, 140, 255, 0.3);
}

.filter-button:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
    color: #ffffff;
}

.filter-button:hover::before {
    transform: scaleX(1);
}

.back-button {
    display: inline-block;
    background: #2c2c2c;
    color: #fff;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #4e8cff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 40px;
}

.back-button:hover {
    background: #4e8cff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(78, 140, 255, 0.3);
}

.pixel-button.clicker-mode {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    transform: translateZ(0);
    top: 0;
    left: 0;
}

.pixel-button.clicker-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.pixel-button.clicker-mode:hover::before {
    left: 100%;
}

.pixel-button.clicker-mode:hover {
    transform: translateY(-3px) scale(1.05);
}

.pixel-button.clicker-mode:active {
    transform: scale(0.98);
    transition: transform 0.1s ease-out;
    top: 0;
    left: 0;
}

.pixel-button.clicker-mode.legendary {
    background: linear-gradient(45deg, #ff1f5a, #ef8e38, #ffee00, #3cff7a, #3c56ff, #a833ff);
    background-size: 300% 300%;
    animation: gradientAnimation 5s ease infinite;
    color: white;
    text-shadow: 0 0 10px white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transform: translateZ(0);
    position: relative;
    top: 0;
    left: 0;
}

.pixel-button.clicker-mode.legendary:hover,
.pixel-button.clicker-mode.epic:hover,
.pixel-button.clicker-mode.rare:hover,
.pixel-button.clicker-mode.uncommon:hover,
.pixel-button.clicker-mode.improved:hover {
    transform: translateY(-3px) scale(1.05) translateZ(0);
    top: 0;
    left: 0;
}

.pixel-button.clicker-mode.legendary:active,
.pixel-button.clicker-mode.epic:active,
.pixel-button.clicker-mode.rare:active,
.pixel-button.clicker-mode.uncommon:active,
.pixel-button.clicker-mode.improved:active {
    transform: scale(0.98) translateZ(0);
    transition: transform 0.1s ease-out;
    position: relative;
    top: 0;
    left: 0;
}

.pixel-button.clicker-mode.epic {
    background: linear-gradient(45deg, #9733ee, #da22ff);
    box-shadow: 0 0 15px rgba(218, 34, 255, 0.6), 0 0 25px rgba(151, 51, 238, 0.4);
    border: 1px solid #da22ff;
    font-weight: 600;
    transform: scale(1.05);
    transition: all 0.3s ease;
    color: white;
    position: relative;
    animation: epic-pulse 2s infinite alternate;
}

@keyframes epic-pulse {
    0% {
        box-shadow: 0 0 15px rgba(218, 34, 255, 0.6), 0 0 25px rgba(151, 51, 238, 0.4);
    }
    100% {
        box-shadow: 0 0 25px rgba(218, 34, 255, 0.8), 0 0 35px rgba(151, 51, 238, 0.6);
    }
}

.pixel-button.clicker-mode.epic:hover {
    box-shadow: 0 0 25px rgba(218, 34, 255, 0.8), 0 0 35px rgba(151, 51, 238, 0.6);
    transform: translateY(-4px) scale(1.1);
    background: linear-gradient(45deg, #8722dd, #c911ee);
}

.pixel-button.clicker-mode.rare {
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    box-shadow: 0 0 15px rgba(58, 123, 213, 0.5), 0 0 25px rgba(0, 210, 255, 0.3);
    border: 1px solid #00d2ff;
    transform: scale(1.03);
    transition: all 0.3s ease;
    color: white;
    animation: rare-shimmer 3s infinite;
}

@keyframes rare-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.pixel-button.clicker-mode.rare:hover {
    box-shadow: 0 0 20px rgba(58, 123, 213, 0.7), 0 0 30px rgba(0, 210, 255, 0.5);
    transform: translateY(-3px) scale(1.07);
    background: linear-gradient(45deg, #2a6bc5, #00c2ef);
}

.pixel-button.clicker-mode.uncommon {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    box-shadow: 0 0 15px rgba(56, 239, 125, 0.5);
    border: 1px solid #38ef7d;
    transform: scale(1.02);
    transition: all 0.3s ease;
    color: white;
}

.pixel-button.clicker-mode.uncommon:hover {
    box-shadow: 0 0 20px rgba(56, 239, 125, 0.7);
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(45deg, #0a8980, #26df6d);
}

.pixel-button.clicker-mode.improved {
    background: linear-gradient(45deg, #FF8008, #FFC837);
    box-shadow: 0 4px 15px rgba(255, 128, 8, 0.4);
    transform: scale(1.01);
    transition: all 0.3s ease;
    color: white;
}

.pixel-button.clicker-mode.improved:hover {
    box-shadow: 0 4px 20px rgba(255, 128, 8, 0.6);
    transform: translateY(-2px) scale(1.03);
    background: linear-gradient(45deg, #EF7000, #FFB800);
}

.pixel-button.clicker-mode.standard {
    background: linear-gradient(45deg, #ff5e7a, #ffb64c);
    box-shadow: 0 4px 10px rgba(255, 94, 122, 0.3);
    transition: all 0.3s ease;
    color: white;
}

.pixel-button.clicker-mode.standard:hover {
    box-shadow: 0 4px 15px rgba(255, 94, 122, 0.5);
    transform: translateY(-1px) scale(1.01);
    background: linear-gradient(45deg, #ff4e6a, #ffaa3c);
}

.fire-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    border-radius: 10px;
}

.fire-particle {
    position: absolute;
    border-radius: 50% 50% 20% 50%;
    transform-origin: center bottom;
    box-shadow: 0 0 15px 5px rgba(255, 140, 0, 0.3);
    animation: fire-rise var(--rise-duration, 1.5s) ease-out, fire-flicker var(--flicker-duration, 0.2s) infinite alternate;
}

@keyframes fire-rise {
    0% {
        transform: translateY(0) rotate(var(--rotate-start, 0deg)) scale(1);
        opacity: 0.9;
        border-radius: 50% 50% 20% 50%;
    }
    20% {
        opacity: 1;
        border-radius: 40% 60% 30% 50%;
    }
    40% {
        border-radius: 60% 40% 50% 30%;
    }
    60% {
        opacity: 0.8;
        border-radius: 40% 60% 30% 50%;
    }
    80% {
        border-radius: 50% 50% 40% 40%;
        transform: translateY(var(--rise-distance, -200px)) rotate(var(--rotate-end, 0deg)) scale(0.5);
        opacity: 0.3;
    }
    100% {
        transform: translateY(var(--rise-distance, -250px)) rotate(var(--rotate-end, 0deg)) scale(0.2);
        opacity: 0;
        border-radius: 40% 40% 60% 40%;
    }
}

@keyframes fire-flicker {
    0% {
        opacity: var(--opacity-min, 0.7);
        transform: scale(var(--scale-min, 0.9)) skew(var(--skew-min, -1deg)) translateX(var(--move-x-min, -2px));
    }
    100% {
        opacity: var(--opacity-max, 1);
        transform: scale(var(--scale-max, 1.1)) skew(var(--skew-max, 1deg)) translateX(var(--move-x-max, 2px));
    }
}

.page-fire-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.page-fire-particle {
    position: absolute;
    border-radius: 50% 50% 20% 50%;
    transform-origin: center bottom;
    box-shadow: 0 0 20px 10px rgba(255, 140, 0, 0.4);
    z-index: 999;
}

.page-fire-particle.left-fire {
    width: 80px;
    height: 100px;
    left: -40px;
    animation: 
        side-fire-flicker 1.3s infinite alternate,
        left-fire-wave 3s infinite ease-in-out;
}

.page-fire-particle.right-fire {
    width: 80px;
    height: 100px;
    right: -40px;
    animation: 
        side-fire-flicker 1.5s infinite alternate,
        right-fire-wave 3.5s infinite ease-in-out;
}

.page-fire-particle.bottom-fire {
    width: 70px;
    height: 90px;
    bottom: -40px;
    animation: 
        bottom-fire-flicker 1.7s infinite alternate,
        bottom-fire-height 4s infinite ease-in-out;
}

.page-fire-particle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, rgba(255,230,110,0.8) 0%, rgba(255,160,60,0.85) 30%, rgba(255,60,20,0.6) 70%, rgba(255,0,0,0) 100%);
    border-radius: inherit;
    filter: blur(5px);
    z-index: -1;
    transform: scale(1.2);
    opacity: 0.8;
    animation: flame-pulse 2s infinite alternate;
}

.page-fire-particle::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(255,255,180,0.9) 0%, rgba(255,200,100,0.4) 40%, rgba(255,0,0,0) 100%);
    border-radius: 50%;
    filter: blur(4px);
    z-index: -1;
    transform-origin: center;
    animation: flame-glow 1.5s infinite alternate;
}

@keyframes side-fire-flicker {
    0% {
        opacity: 0.5;
        transform: scale(0.9) translateX(-5px);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1) translateX(5px);
    }
}

@keyframes bottom-fire-flicker {
    0% {
        opacity: 0.6;
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes left-fire-wave {
    0% {
        transform: translateX(0) scale(0.9);
    }
    50% {
        transform: translateX(20px) scale(1.1);
    }
    100% {
        transform: translateX(0) scale(0.9);
    }
}

@keyframes right-fire-wave {
    0% {
        transform: translateX(0) scale(0.9);
    }
    50% {
        transform: translateX(-20px) scale(1.1);
    }
    100% {
        transform: translateX(0) scale(0.9);
    }
}

@keyframes bottom-fire-height {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.2);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes flame-pulse {
    0% {
        transform: scale(1.1);
        filter: blur(4px);
    }
    100% {
        transform: scale(1.3);
        filter: blur(6px);
    }
}

@keyframes flame-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

.page-fire-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 998;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.click-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 20px;
    background-color: rgba(255, 50, 50, 0.9);
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    z-index: 9999;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    animation: warning-pulse 0.5s infinite alternate;
}

@keyframes warning-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
    }
}

@keyframes button-shake {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px) scale(1.05);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px) scale(1.05);
    }
}

.pixel-button.button-shake {
    animation: button-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.level-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 25px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.level-indicator.level-legendary {
    background: linear-gradient(45deg, #ff1f5a, #ef8e38, #ffee00, #3cff7a, #3c56ff, #a833ff);
    background-size: 300% 300%;
    animation: gradientAnimation 3s ease infinite;
    border: 2px solid white;
    text-shadow: 0 0 10px white;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.level-indicator.level-epic {
    background: linear-gradient(45deg, #9733ee, #da22ff);
    border: 1px solid #da22ff;
    text-shadow: 0 0 8px rgba(218, 34, 255, 0.8);
    box-shadow: 0 0 25px rgba(218, 34, 255, 0.6);
}

.level-indicator.level-rare {
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    border: 1px solid #00d2ff;
    text-shadow: 0 0 6px rgba(0, 210, 255, 0.7);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.level-indicator.level-uncommon {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    border: 1px solid #38ef7d;
    text-shadow: 0 0 5px rgba(56, 239, 125, 0.6);
    box-shadow: 0 0 15px rgba(56, 239, 125, 0.5);
}

.level-indicator.level-improved {
    background: linear-gradient(45deg, #FF8008, #FFC837);
    border: 1px solid #FFC837;
    text-shadow: 0 0 4px rgba(255, 128, 8, 0.5);
    box-shadow: 0 0 15px rgba(255, 128, 8, 0.4);
}

@keyframes button-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
}

body.level-improved {
    background-color: #fff9e6;
    transition: all 0.5s ease;
}

body.level-uncommon {
    background-color: #f0f9e8;
    transition: all 0.5s ease;
}

body.level-rare {
    background-color: #e8f4f9;
    transition: all 0.5s ease;
}

body.level-epic {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f3 100%);
    transition: all 0.5s ease;
}

body.level-legendary {
    background: linear-gradient(135deg, #fff6e5 0%, #ffebcf 100%);
    transition: all 0.5s ease;
}

@keyframes epic-level-bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body.level-legendary .service-card:hover,
body.level-legendary .portfolio-item:hover,
body.level-legendary .event-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 100, 50, 0.4) !important;
}

body.level-epic h1, 
body.level-epic h2, 
body.level-epic h3 {
    background-size: 200% 200%;
    animation: epic-level-bg 5s ease infinite;
}

body.level-rare a:hover {
    color: #3a7bd5;
    text-shadow: 0 0 5px rgba(0, 210, 255, 0.2);
}

body.level-uncommon .service-card:hover,
body.level-uncommon .portfolio-item:hover,
body.level-uncommon .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(56, 239, 125, 0.2) !important;
}

body.level-improved a:hover {
    color: #FF8008;
}

.toggle-original-style {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-original-style span:not(.slider) {
    margin-left: 10px;
    color: #fff;
    font-size: 14px;
}

@media (min-width: 769px) {
    body {
        cursor: auto;
    }
}

/* ==========================================
   ГОРЯЩИЙ РАЗДЕЛ - DATA STORAGE SECTION
   ========================================== */

.data-storage-section {
    position: relative;
    background: linear-gradient(180deg, #050505 0%, #1a0a00 50%, #0d0503 100%);
    padding: 100px 20px;
    overflow: hidden;
    border: none;
    border-top: 2px solid rgba(255, 102, 0, 0.3);
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    box-shadow: 
        inset 0 0 100px rgba(255, 102, 0, 0.1),
        inset 0 0 200px rgba(255, 51, 0, 0.05),
        0 0 50px rgba(255, 102, 0, 0.2);
}

.data-storage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(255, 102, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 51, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 51, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.data-storage-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Искры и частицы огня */
.fire-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: 0;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #fff 0%, #ff6600 50%, #ff3300 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 6px #ff6600,
        0 0 12px #ff3300,
        0 0 20px rgba(255, 102, 0, 0.5);
    animation: ember-float 4s ease-in-out infinite;
    opacity: 0;
}

.ember:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 3.5s; }
.ember:nth-child(2) { left: 20%; animation-delay: 0.5s; animation-duration: 4s; }
.ember:nth-child(3) { left: 30%; animation-delay: 1s; animation-duration: 3.8s; }
.ember:nth-child(4) { left: 40%; animation-delay: 1.5s; animation-duration: 4.2s; }
.ember:nth-child(5) { left: 50%; animation-delay: 2s; animation-duration: 3.6s; }
.ember:nth-child(6) { left: 60%; animation-delay: 0.3s; animation-duration: 4.1s; }
.ember:nth-child(7) { left: 70%; animation-delay: 0.8s; animation-duration: 3.9s; }
.ember:nth-child(8) { left: 80%; animation-delay: 1.3s; animation-duration: 4.3s; }
.ember:nth-child(9) { left: 90%; animation-delay: 1.8s; animation-duration: 3.7s; }
.ember:nth-child(10) { left: 15%; animation-delay: 2.3s; animation-duration: 4.4s; }
.ember:nth-child(11) { left: 25%; animation-delay: 0.2s; animation-duration: 3.4s; }
.ember:nth-child(12) { left: 45%; animation-delay: 1.2s; animation-duration: 4.5s; }
.ember:nth-child(13) { left: 65%; animation-delay: 0.6s; animation-duration: 3.3s; }
.ember:nth-child(14) { left: 75%; animation-delay: 1.6s; animation-duration: 4.6s; }
.ember:nth-child(15) { left: 85%; animation-delay: 2.1s; animation-duration: 3.2s; }

@keyframes ember-float {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) scale(1);
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
        transform: translateX(20px) scale(0.8);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(-10px) scale(0.3);
    }
}

/* Бейдж с огнём */
.fire-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.2), rgba(255, 51, 0, 0.3));
    border: 2px solid #ff6600;
    border-radius: 30px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff6600;
    text-transform: uppercase;
    margin-bottom: 30px;
    box-shadow: 
        0 0 20px rgba(255, 102, 0, 0.3),
        inset 0 0 20px rgba(255, 102, 0, 0.1);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 102, 0, 0.3),
            inset 0 0 20px rgba(255, 102, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 102, 0, 0.5),
            0 0 60px rgba(255, 51, 0, 0.3),
            inset 0 0 30px rgba(255, 102, 0, 0.2);
    }
}

/* Огненный заголовок */
.fire-title {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #fff5e6 20%, #ff6600 70%, #ff3300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(255, 102, 0, 0.5));
    animation: fire-flicker 3s ease-in-out infinite alternate;
}

@keyframes fire-flicker {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.5)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 51, 0, 0.7)) brightness(1.1);
    }
    100% {
        filter: drop-shadow(0 0 25px rgba(255, 102, 0, 0.6)) brightness(1.05);
    }
}

/* Подзаголовок */
.fire-subtitle {
    font-size: 1.3rem;
    color: #ccbbaa;
    margin-bottom: 15px;
    line-height: 1.6;
}

.fire-subtitle .probably {
    color: #ff6600;
    font-style: italic;
    font-weight: 600;
}

/* Описание */
.fire-description {
    margin: 30px 0;
}

.fire-description p {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.7;
}

/* Кнопка с огнём */
.fire-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ff3300 0%, #ff6600 50%, #ff9900 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 30px rgba(255, 102, 0, 0.5),
        0 0 50px rgba(255, 51, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fire-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.fire-button:hover::before {
    left: 100%;
}

.fire-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 40px rgba(255, 102, 0, 0.6),
        0 0 80px rgba(255, 51, 0, 0.4),
        0 0 100px rgba(255, 153, 0, 0.2);
}

.fire-button:active {
    transform: translateY(0) scale(0.98);
}

.fire-icon {
    font-size: 1.4rem;
    animation: fire-icon-dance 0.5s ease-in-out infinite alternate;
}

@keyframes fire-icon-dance {
    0% {
        transform: translateY(0) rotate(-5deg);
    }
    100% {
        transform: translateY(-3px) rotate(5deg);
    }
}

/* Предупреждающий бейдж */
.warning-badge {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 8px;
    color: #ffc107;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    animation: warning-blink 2s ease-in-out infinite;
}

@keyframes warning-blink {
    0%, 100% {
        opacity: 1;
        border-color: rgba(255, 193, 7, 0.5);
    }
    50% {
        opacity: 0.7;
        border-color: rgba(255, 193, 7, 0.8);
    }
}

/* Адаптивность для горящего раздела */
@media (max-width: 768px) {
    .fire-title {
        font-size: 2.2rem;
    }
    
    .fire-subtitle {
        font-size: 1.1rem;
    }
    
    .fire-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .fire-badge {
        font-size: 12px;
        padding: 6px 18px;
    }
    
    .data-storage-section {
        padding: 60px 15px;
    }
}