*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MyCustomFontt", sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Amiri-Bold.ttf') format('truetype');
}

html{
    font-size: 60%;
    overflow-x: hidden;

}

body {
    background-color: rgb(0, 0, 0);
    padding-top: 12rem;
    /* background-image: url("image1.png");
    background-size: cover;       
    background-repeat: no-repeat;  
    background-attachment: fixed;  
    background-position: center;    */
}

.header{
    position:fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 4rem 15%;
    background: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
#menu-icon{
    font-size: 3.5rem;
    display: none;
}
.logo {
    font-size: 3rem;
    color: #ffffff; /* Solid white for Dev */
    font-weight: 900;
    cursor: pointer;
    transition: 1s ease-in-out;
}

.logo:hover{
    transform: scale(1.1);
    opacity: 0.7;

}

.logo span {
    font-family: 'MyCustomFontt', sans-serif;
    background: rgba(255, 255, 255, 0);
    color: white;
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-weight: 900;
    /* animation: glow 4s infinite linear; */
}
span{
    background: rgba(255, 255, 255, 0);
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-weight: 900;
    animation: glow 40s infinite linear;
}

/* @keyframes glow {
    0% {
        text-shadow: 0 0 4px #649fdd, 0 0 0px #00AEEF;
    }
    33% {
        text-shadow: 0 0 4px #d25e98, 0 0 0px #9648c3;
    }
    66% {
        text-shadow: 0 0 4px #f4fa41, 0 0 0px #00FF94;
    }
    100% {
        text-shadow: 0 0 4px #00AEEF, 0 0 0px #00AEEF;
    }
} */

.navbar a {
  font-size: 1.9em;
  color: #ffffff;
  margin-left: 4rem;
  font-weight: 700;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent;
  padding-bottom: 3px;
  text-decoration: none;
}

.navbar a:hover {
  background: transparent;
  color: white;
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  animation: white 4s infinite linear;
  border-bottom: 3px solid #ffffff;
}

/* Keep underline on the active link */
.navbar a.active {
  border-bottom: 3px solid #ffffff;
}


.btnn-group{
    display: flex;
    gap: 1.5rem;
}

.btnn{
    display: inline-block;
    padding: 1rem 3rem;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: gray;
    border-radius: 3rem;
    font-size: 1.8rem;
    color: rgb(255, 255, 255);
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.gradient-btn{
    font-size: 1.7rem;
    font-weight: 600;
    padding: 1.3rem 1.7rem;
    border-radius: 3rem;
    letter-spacing: 2px;
    cursor: pointer;
    /* background: linear-gradient(90deg, #00AEEF, #FF007F, #00FF94); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 4s infinite linear; 
    transition: 0.3s ease-in-out;
    text-wrap: nowrap;
}
.gradient-btn:hover{
    transform: scale(1,1);
    opacity: 0.9;
}

section{
    min-height: 100vh;
    padding: 10rem 15%;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}

.home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Amiri-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'MyCustomFontt';
  src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'MyCustomFont1';
  src: url('fonts/Amiri-Bold.ttf') format('truetype');
}


.home-content h1 span {
  font-family: 'MyCustomFontt', sans-serif;
}


.home-content h1{
    font-family: 'MyCustomFontt', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
    color: white;
}


.home-content h3{
    margin: 1rem 0;
    font-size: 4rem;
    color: white;
}

.home-content p{
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.8;
    color: white;
}

.home-img img {
    width: 32vw;
    height: 32vw;
    background: #333333;
    border-radius: 50%;
    box-shadow: 0 0 22px gray;
    transition: 0.4s ease-in-out;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    animation: beatShine 2.7s infinite ease-in-out;
}

/* Add this to store.css */

/* --------------- STORE PRODUCT GRID --------------- */

.store-grid {
    display: grid;
    /* Reduced min-width from 300px to 240px to allow smaller boxes */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    gap: 30px;
    max-width: 1000px; /* Shrunk the overall container */
    margin: 0 auto;
    justify-content: center; /* Centers the grid */
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px; /* Reduced padding inside the box */
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in-out;
    max-width: 480px; /* Forces the box to stop growing at 280px */
    width: 100%;
    margin: 0 auto; /* Keeps the card centered in its space */
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #111;
}

.product-card h3 {
    color: white;
    font-size: 1.8rem; /* Slightly smaller title */
    margin-bottom: 10px;
}

/* Hidden Description */
.product-card p.video-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    color: #bbb;
    font-size: 1.2rem; /* Smaller description text */
    line-height: 1.4;
    transition: all 0.5s ease;
    margin: 0;
}

/* Show Description on Hover */
.product-card:hover p.video-description {
    opacity: 1;
    max-height: 150px;
    margin-bottom: 15px;
}

/* --- PRICE ROW --- */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Pushes this row to the absolute bottom of the card */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row .price {
    color: #ffffff; /* Bright green so the price is obvious */
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.price-row .btn {
    padding: 8px 16px;
    font-size: 1.3rem;
    border-radius: 8px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.price-row .btn:hover {
    background: #ccc;
    transform: scale(1.05);
}

/* Admin Login Modal Styling */
#adminLoginModal {
    backdrop-filter: blur(8px);
    font-family: 'Poppins', sans-serif;
}

.admin-card {
    background: #111;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #ffffff;
    text-align: center;
    width: 350px;
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.15);
}

.admin-card h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Admin Dashboard Section Styling */
.admin-upload-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 238, 255, 0.3);
    padding: 30px;
    border-radius: 20px;
    margin: 20px auto 50px;
    max-width: 800px;
}

.admin-upload-form h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.admin-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Enhancing your existing contact-inputs for admin use */
.admin-upload-form .contact-inputs {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.3s;
    width: 100%;
}

.admin-upload-form .contact-inputs:focus {
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 238, 255, 0.2);
    outline: none;
}

/* .admin-upload-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 2rem;
    margin: 2rem auto 5rem;
    max-width: 800px;
    text-align: center;
    border: 1px solid #333;
}

.admin-upload-form input, .admin-upload-form textarea {
    margin-bottom: 1.5rem;
    display: block;
    width: 100%;
} */

/* Style for the delete button on uploaded videos */
.video-delete-btn {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 1.2rem;
}
/* Define the glowing animation */
@keyframes beatShine {
    0% {
        box-shadow: 0 0 22px gray;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px white, 0 0 80px gray, 0 0 120px gray;
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 22px gray;
        transform: scale(1);
    }
}

.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: rgb(255, 255, 255);
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover{
    box-shadow: 0 0 50px gray;
    background: linear-gradient(90deg, #00AEEF, #FF007F, #00FF94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 4s infinite linear; 
    transition: 0.3s ease-in-out;
}
.btn-group{
    display: flex;
    gap: 1.5rem;
}

.btn{
    display: inline-block;
    padding: 1rem 3rem;
    background-color: white;
    box-shadow: gray;
    border-radius: 3rem;
    font-size: 1.8rem;
    color: rgb(23, 23, 23);
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}
.btn:hover
{
    transform: scale(1.05);
    box-shadow: 0 0 25px white,
    0 0 50px gray;
}

.btn-group a:nth-of-type(2){
    background-color: rgb(23, 23, 23);
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px white,
    0 0 50px gray;
}


footer{
    position: relative;
    width: 100%;
    background: #000000;
    min-height: 50px;
    padding: 10px 5px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .social-iconss{
    position: relative;
    display: flex;
    justify-content: center;
}

footer .social-iconss a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: rgb(255, 255, 255);
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

footer .menu li{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

footer .social-iconss a:hover,
footer .menu li a:hover{
   transform: translateY(-10px);
   opacity: 0.9;
}

.menu{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

footer .menu li a{
    font-size: 1.6em;
    font-weight: 600;
    color: white;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

footer p{
    color: white;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 15px;
  
}

.video {
  width: 100%;
  /* height: 100vh; full screen height, optional — you can remove it if not needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black; /* fallback background */
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes it fill the whole section nicely */
  border: none;
  outline: none;
}


select.contact-inputs {
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
}

#click-hint {
  color: #aaa;
  font-size: 1.7rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}



.gradient-btnn{
    font-size: 1.7rem;
    font-weight: 600;
    padding: 1.3rem 1.7rem;
    border-radius: 3rem;
    letter-spacing: 2px;
    cursor: pointer;
    background: linear-gradient(90deg, #00AEEF, #FF007F, #00FF94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 4s infinite linear; 
    transition: 0.3s ease-in-out;
    text-wrap: nowrap;
}

.gradient-btnn:hover{
    transform: scale(1,1);
    opacity: 0.9;
}

/* Section heading */
.edits h1 {
    font-size: 4rem;
    text-align: center;
    margin-top: 50px;
    color: white;
}

/* Row title */
.row-title {
    font-family: 'MyCustomFontt', sans-serif;
    font-size: 3rem;
    color: white;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 4s infinite linear; 
    margin-bottom: 10px;
    text-align: center;
    align-items: center;
}

/* Horizontal line under the title */
.video-row-wrapper hr {
    border: 1px solid white;
    margin-bottom: 35px;
}

/* Video row: 2 videos side by side */
/* Update the row to allow 3 videos or 2 videos */
.video-row {
    display: flex;
    justify-content: center; /* Centers the group */
    gap: 20px;               /* Space between videos */
    flex-wrap: wrap;         /* Allows them to wrap on mobile */
    width: 100%;
}

/* Each video container */
.rcj {
    flex: 1 1 600px;        /* Minimum width of 300px, grows to fill space */
    max-width: 1050px;       /* Limits how big they get on large screens */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rcj video {
    width: 100%;            /* Fills the .rcj container */
    height: auto;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    aspect-ratio: 16 / 9;   /* Keeps them all the same height */
    object-fit: cover;
}

.rcj h3 {
    color: white;
    font-size: 1.8rem;
    margin: 10px 0;
}

/* Base state for the description (Hidden) */
.rcj p {
    opacity: 0;
    visibility: hidden;
    color: white;
    font-size: 1.3rem;
    transition: all 0.5s ease;
    height: 0; /* Keeps it from taking up empty space when hidden */
    margin: 0;
}

/* Hover state: When the user hovers over the card, show the text */
.rcj:hover p {
    opacity: 0.8;
    visibility: visible;
    height: auto;
    margin-top: 15px; /* Adds the spacing back when it appears */
}

/* Only for single-video rows */
.single-video .video-row {
    justify-content: center; /* center the video */
}

.single-video .rcj {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single-video .rcj video {
    width: 900px;        /* smaller width */
    max-width: 90%;      /* responsive on small screens */
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
}

.single-video .rcj h3 {
    text-align: center;
}

.single-video .rcj p {
    text-align: center;
}
 
.single-video .video-row-wrapper hr {
    width: 50%;          /* line shorter than full width */
    margin: 0 auto 30px; /* center the line */
}

/* For rows with smaller videos */
.small-videos .video-row {
    justify-content: center;
    
}

.small-videos .rcj {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.small-videos .rcj video {
    width: 400px;       /* smaller video size */
    max-width: 90%;
    border-radius: 20px;
    cursor: pointer;
}

.small-videos .rcj h3,
.small-videos .rcj p {
    text-align: center;
}

.small-videos hr {
    width: 80%;
    margin: 0 auto 30px;
}



.image-slider-wrapper {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.image-slider-wrapper .row-title {
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    padding: 0 20px;
    color:white;
}

.image-slider-wrapper hr {
    width: 100%;
    margin: 10px auto 30px;
}

/* Slider container */
.slider {
    width: 1200px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

/* Slides container */
.slides {
    width: 200%;
    height: 100%;
    display: flex;
    transition: 1s ease;
}

/* Hide radio buttons */
.slides input {
    display: none;
}

/* Each slide */
.slide {
    width: 50%;
}

.slide img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* Manual navigation (below image) */
.manual-nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.manual-btn {
    border: 2px solid white;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.manual-btn:hover {
    background: white;
}

/* Slide logic */
#img1:checked ~ .slide.first {
    margin-left: 0;
}

#img2:checked ~ .slide.first {
    margin-left: -50%;
}

.gallery-link {
    text-align: center;
    font-size: 2.5rem;
    color: #222;
    font-family: "Poppins", sans-serif;
    letter-spacing: 1px;
    margin-top: 50px;
    margin-bottom: 10px;
    cursor: pointer;                /* Makes it clickable */
    transition: color 0.3s ease;    /* Smooth hover effect */
}

.gallery-link:hover {
    color: white;
}



.image-slider-wrapper hr{
    width: 100px;
    margin: 10px auto 40px;
    border: none;
    border-top: 3px solid #ffffff;
    border-radius: 2px;
}

/* Medium screens (tablets/laptops) */
@media (max-width: 1768px) {

    html {
        font-size: 50%;
    }

    .header {
        padding: 2rem 5%;
    }

    /* Show menu icon */
    #menu-icon {
        display: block;
        font-size: 4rem;
        cursor: pointer;
        color: white;
    }

    /* Hide navbar links by default */
    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 100%;
        background: rgba(0,0,0,0.8);
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        transition: 0.3s;
    }

    .navbar a {
        margin: 2rem 0;
        font-size: 2.2rem;
    }

    .navbar.active {
        right: 0;
    }

    /* Hide hero image for small screens */
    .home-img img {
        width: 70%;
        margin-top: 3rem;
    }

    /* Make home section stack */
    .home {
        flex-direction: column;
        text-align: center;
        gap: 5rem;
        padding: 5rem 2rem;
    }

    /* Skills icon smaller */
    .skill-icon {
        width: 100px;
        height: 100px;
        border-radius: 50px;
    }

    /* Ball section adjustments */
    .ball-section {
        flex-direction: column;
        gap: 50px;
    }

    .ball-game {
        flex-direction: column;
        align-items: center;
    }

    .ball-game .gradient-btnn {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 15px;
    }

    .ball-game h3 {
        position: relative;
        top: auto;
        left: auto;
        text-align: center;
        margin-top: 0;
    }

    .ball-game p {
        max-width: 90%;
        font-size: 1.6rem;
        text-align: center;
    }

    /* Yeat game image */
    .yeat-game img, .ball-game img {
        width: 300px;
        max-width: 90%;
    }

    /* Games container wraps */
    .games {
        flex-direction: column;
        align-items: center;
    }
    .gallery-link{
        font-size: 2rem;
    }
    
}

/* --------------- PROJECT PAGE MOBILE (600px) --------------- */

/* --------------- MOBILE (600px) - PROJECTS & STORE --------------- */

@media (max-width: 600px) {
    /* Match Home Page Root Size */
    html {
        font-size: 50% !important;
    }
    
    /* --- PROJECT PAGE FIXES --- */
    .section-videos-grid {
        grid-template-columns: 1fr !important; 
        gap: 30px !important; 
    }

    .rcj {
        flex: none !important;
        width: 100% !important; 
        max-width: 100% !important; 
    }

    /* --- STORE PAGE FIXES --- */
/* --- STORE PAGE FIXES --- */
    .store-grid {
        display: flex !important; /* Forces a foolproof layout on phones */
        flex-direction: column !important; /* Stacks them vertically */
        align-items: center !important; /* Centers them perfectly */
        width: 100% !important;
        gap: 30px !important;
        padding: 0 !important;
    }

    .product-card {
        width: 90% !important; /* Takes up 90% of the phone screen */
        max-width: 350px !important; /* Stops it from looking too stretched */
        display: flex !important;
    }

    /* Phones don't have "hover", so we force the description to always show! */
    .product-card p.video-description {
        opacity: 0.8 !important;
        max-height: 200px !important;
        visibility: visible !important;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
    }

    /* Fix the Admin Login Modal */
    .admin-card, 
    #adminLoginModal > div {
        width: 90% !important;
        padding: 20px !important;
    }

    /* Force the Admin Upload Form inputs to stack */
    #adminStorePanel > div {
        grid-template-columns: 1fr !important;
    }

    /* --- NAVBAR & HEADER FIXES --- */
    .header {
        padding: 2rem 5% !important;
    }

    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 100%;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        transition: 0.3s;
    }

    .navbar.active {
        right: 0;
    }

    .navbar a {
        margin: 2rem 0 !important; 
        font-size: 2.2rem !important; 
        font-family: "MySkill", sans-serif; 
        font-weight: 700;
        display: block;
    }

    #menu-icon {
        display: block !important;
        font-size: 4rem !important;
        color: white;
    }
}
