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

body, html {
    height: 100%;
    font-family: 'Roboto Mono', monospace;
    background-color: #0c0c0c;
    color: #ffffff;
    scroll-behavior: smooth;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background-color: rgba(12, 12, 12, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
    transition: background-color 0.3s ease;
}

#main-header .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-full {
    width: 100%;
    position: relative;
    z-index: 2;
}

.logo-link .logo {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.1);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav li {
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF4500;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.main-nav a:hover {
    color: #FF4500;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav a.active {
    color: #FF4500;
}

.main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

#hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FF4500;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.7);
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #f0f0f0;
}

.hero-title.typewriter {
    position: relative;
    direction: ltr;
    display: inline-block;
    min-height: 1.2em;
}

.hero-title.typewriter::after {
    content: '_';
    font-weight: 700;
    color: #FF4500;
    animation: blink 1s infinite;
    position: relative;
    margin-left: 5px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

#image-scroller {
    background-color: #0c0c0c;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
    overflow: hidden;
    position: relative;
}

#image-scroller-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.scroller-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 2;
    cursor: grab;
}

.scroller-container::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(34, 34, 34, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 69, 0, 0.2);
}

.scroll-item:first-child {
    margin-left: 40px;
}

.scroll-item:last-child {
    margin-right: 40px;
}

.scroll-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
    border-color: #FF4500;
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#skills-marquee {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 0;
    background-color: #0c0c0c;
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

.marquee-row {
    display: flex;
    white-space: nowrap;
}

.marquee-row.scroll-right .marquee-content {
    transform: translateX(-50%);
}

.marquee-content {
    display: flex;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    will-change: transform;
}

.marquee-content span {
    padding: 0 20px;
}

.marquee-row:first-child .marquee-content span {
    color: #FF4500;
    -webkit-text-stroke: 1px #FF4500;
}

.marquee-row:last-child .marquee-content span {
    color: #aaa;
    -webkit-text-stroke: 1px #aaa;
}

#team {
    padding: 80px 40px;
    background-color: #0c0c0c;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

#team-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #FF4500;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

#team .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-card {
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease-out;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.5);
    border-color: #FF4500;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FF4500;
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF4500;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    font-size: 1.8rem;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #FF4500;
    transform: scale(1.2);
}

#competitions {
    padding: 80px 40px;
    background-color: #0c0c0c;
    position: relative;
    overflow: hidden;
}

#competitions-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.competitions-scroller {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    margin: 0 -40px;
    position: relative;
    z-index: 2;
    cursor: grab;
}

.competitions-scroller::-webkit-scrollbar {
    display: none;
}

.competitions-scroller > :first-child {
    margin-left: 40px;
}

.competitions-scroller > :last-child {
    margin-right: 40px;
}

.competition-card {
    flex: 0 0 320px;
    margin-right: 30px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease-out;
    cursor: pointer;
    position: relative;
}

.card-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.card-content {
    padding: 20px;
    text-align: center;
    background-color: #1a1a1a;
    position: relative;
    z-index: 2;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease-out;
}

.competition-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    transition: color 0.3s ease-out;
    margin-bottom: 10px;
}

.card-details-preview {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    opacity: 1;
    transform: translateY(0);
    height: auto;
}

.competition-card:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 15px 35px rgba(255, 69, 0, 0.5);
    border-color: #FF4500;
}

.competition-card:hover .card-image {
    transform: scale(1.15);
}

.competition-card:hover h3 {
    color: #FF4500;
}

#categories-preview {
    padding: 80px 40px;
    background-color: #0c0c0c;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
}

.categories-preview-container {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

#write-ups {
    padding: 80px 40px;
    background-color: #0c0c0c;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

.writeups-container {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FF4500;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid #FF4500;
    transition: all 0.3s ease-out;
}

.cta-button:hover {
    background-color: transparent;
    color: #FF4500;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

#find-us {
    padding: 80px 40px;
    position: relative;
    z-index: 5;
    overflow: hidden;
    background-color: #0c0c0c;
}

#find-us-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.find-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.find-us-card {
    background-color: #1a1a1a;
    border: 2px solid rgba(255, 69, 0, 0.3);
    border-radius: 50%;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: all 0.4s ease-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.find-us-card i {
    font-size: 4rem;
    color: #FF4500;
    transition: all 0.3s ease;
}

.find-us-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.find-us-card a {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    background-color: #FF4500;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    pointer-events: none;
}

.find-us-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.5);
    border-color: #FF4500;
}

.find-us-card:hover i,
.find-us-card:hover h3 {
    opacity: 0;
    transform: scale(0.8);
}

.find-us-card:hover a {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.find-us-card.hidden-on-scroll:nth-child(1) { transition-delay: 0s; }
.find-us-card.hidden-on-scroll:nth-child(2) { transition-delay: 200ms; }
.find-us-card.hidden-on-scroll:nth-child(3) { transition-delay: 400ms; }

#main-footer {
    padding: 60px 40px;
    background-color: #000000;
    text-align: center;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
    position: relative;
    z-index: 5;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact p {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 10px;
}

.footer-contact a {
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #FF4500;
    text-decoration: underline;
}

.footer-copyright p {
    font-size: 0.9rem;
    color: #777;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}

#modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #FF4500;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.5);
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.3s ease-out;
}

#modal-overlay.visible,
#modal-container.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

#modal-overlay.visible {
    transform: none;
}

#modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

#modal-close-btn:hover {
    color: #FF4500;
    transform: rotate(90deg);
}

#modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.modal-content {
    padding: 30px;
}

#modal-title {
    font-size: 2.5rem;
    color: #FF4500;
    text-transform: uppercase;
    margin-bottom: 20px;
}

#modal-details {
    font-size: 1.1rem;
    color: #f0f0f0;
    line-height: 1.7;
    white-space: pre-wrap;
}

.hidden-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hidden-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: var(--delay, 0s);
}

@media (max-width: 768px) {
    #main-header {
        padding: 15px 20px;
    }

    .logo-link .logo {
        height: 40px;
    }

    .main-nav {
        display: none;
    }

    #mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .scroll-item {
        width: 250px;
        height: 160px;
    }

    .marquee-content {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    #team .container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .competitions-scroller {
        padding: 20px 0;
        margin: 0 -20px;
    }

    .competitions-scroller > :first-child {
        margin-left: 20px;
    }

    .competitions-scroller > :last-child {
        margin-right: 20px;
    }

    .competition-card {
        flex: 0 0 280px;
    }

    .competition-card h3 {
        font-size: 1.2rem;
    }

    .card-details-preview {
        font-size: 0.8rem;
        height: auto;
        opacity: 1;
        transform: none;
    }

    .competition-card:hover .card-details-preview {
        height: auto;
        opacity: 1;
        transform: none;
    }

    #modal-container {
        width: 95%;
        max-height: 90vh;
    }

    #modal-image {
        height: 200px;
    }

    .modal-content {
        padding: 25px;
    }

    #modal-title {
        font-size: 1.8rem;
    }

    #modal-details {
        font-size: 1rem;
    }

    .find-us-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .find-us-card {
        width: 200px;
        height: 200px;
    }

    .find-us-card i {
        font-size: 3rem;
    }

    .find-us-card h3 {
        font-size: 1.2rem;
    }

    .footer-contact a {
        font-size: 1rem;
    }
}

#categories-video,
#writeups-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

#categories-preview .container-full,
#write-ups .container-full {
    position: relative;
    z-index: 2;
}

#modal-container::-webkit-scrollbar {
    width: 12px;
}

#modal-container::-webkit-scrollbar-thumb {
    background-color: #FF4500;
    border-radius: 6px;
    border: 3px solid #0c0c0c;
}

#modal-container::-webkit-scrollbar-track {
    background-color: #333;
    border-radius: 6px;
}

#modal-container::-webkit-scrollbar-thumb:hover {
    background-color: #e03c00;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c0c0c;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader img {
    width: 80px;
    animation: pulse 1.5s infinite ease-in-out;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #FF4500;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 1.2rem;
    line-height: 50px;
    text-decoration: none;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top-btn:hover {
    background-color: #e03c00;
    transform: scale(1.1);
}

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

#mobile-menu-btn:hover {
    color: #FF4500;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
    z-index: 1000;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #FF4500;
}

.mobile-nav a::after {
    display: none;
}

body {
    cursor: none;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #FF4500;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 69, 0, 0.5);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    border-color: #FF4500;
    background-color: rgba(255, 69, 0, 0.1);
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot, .cursor-outline {
        display: none;
    }
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-thumb {
    background-color: #FF4500;
    border-radius: 6px;
    border: 3px solid #0c0c0c;
}

body::-webkit-scrollbar-track {
    background-color: #333;
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #e03c00;
}
