@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body {
    margin: 0;
    background-color: rgb(10, 10, 10);
    color: white;   
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}
  
::-webkit-scrollbar-track {
    background: rgb(10, 10, 10);
}
  
::-webkit-scrollbar-thumb {
    background: #00d9ff;
    border-radius: 10px;
}

.bg {
    background: linear-gradient(135deg, #0a2e2e 0%, #1a4d4d 25%, #2d6b6b 50%, #1a4d4d 75%, #0a2e2e 100%);
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/dreambg.png');
    background-size: cover;
    opacity: 0.5;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 50px;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .logo img {
    width: 45px;
    height: 45px;
    mix-blend-mode: lighten;
    filter: brightness(1.1);
}

.header .logo h1 {
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 1px;
}

.header .nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header .nav a {
    font-weight: 300;
    font-size: 16px;
    transition: 200ms;
    color: rgb(199, 199, 199);
}

.header .nav a:hover {
    color: #00d9ff;
    transition: 200ms;
}

.header .nav a.active {
    color: white;
    font-weight: 400;
}

.hero {
    display: flex;
    min-height: 85vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-weight: 700;
    font-size: 80px;
    letter-spacing: 3px;
    margin: 0;
}

.hero h2 {
    margin: 0;
    color: #00d9ff;
    font-weight: 400;
    letter-spacing: 3px;
    font-size: 24px;
    margin-top: 10px;
}

.hero p {
    color: rgb(185, 185, 185);
    font-weight: 300;
    font-size: 18px;
    margin-top: 20px;
    max-width: 700px;
    line-height: 1.6;
}

.section {
    display: flex;
    flex-direction: column;
    margin-top: 150px;
    padding: 0 100px;
}

.section .title {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.section .title h1 {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 36px;
}

.section .title .line {
    height: 10px;
    width: 200px;
    background-color: #00d9ff;
    margin-left: 25px;
    border-radius: 10px;
}

.section .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.card {
    background: linear-gradient(rgba(0, 217, 255, 0.2), rgba(10, 10, 10, 0.746));
    width: calc(33.333% - 20px);
    min-width: 280px;
    padding: 40px;
    border-radius: 10px;
    transition: 200ms;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    transition: 200ms;
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.2);
}

.card h3 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 15px;
    color: #00d9ff;
}

.card p {
    color: rgb(182, 182, 182);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
}


.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 300ms ease;
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.project-item:hover {
    transform: scale(1.05);
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 217, 255, 0.9), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 300ms ease;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.projects-note {
    text-align: center;
    color: rgb(150, 150, 150);
    font-style: italic;
    margin-top: 40px;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 200ms;
}

.modal-close:hover {
    color: #00d9ff;
}

.footer {
    margin-top: 150px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.446);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-content {
    text-align: center;
}

.footer h2 {
    font-weight: 500;
    font-size: 32px;
    margin-bottom: 10px;
}

.footer p {
    color: rgb(213, 213, 213);
    font-weight: 300;
    font-size: 16px;
}

.creator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.505);
    height: 80px;
}

.creator p {
    margin: 0;
    font-weight: 300;
    color: rgb(213, 213, 213);
    font-size: 14px;
}

.media {
    display: flex;
    position: fixed;
    bottom: 25px;
    right: 25px;
    gap: 10px;
    z-index: 100;
}

.media img {
    width: 50px;
    transition: 200ms;
}

.media img:hover {
    filter: brightness(70%);
    transform: scale(1.1);
    cursor: pointer;
    transition: 200ms;
}

.communities {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.community-box {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(88, 101, 242, 0.15));
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 15px;
    padding: 40px;
    width: calc(50% - 15px);
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
}

.community-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 600ms ease;
}

.community-box:hover::before {
    left: 100%;
}

.community-box:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.community-box h3 {
    font-size: 26px;
    font-weight: 600;
    color: #00d9ff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.community-box p {
    color: rgb(200, 200, 200);
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.discord-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5865f2, #00d9ff);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 300ms ease;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
    position: relative;
    z-index: 1;
}

.discord-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
    background: linear-gradient(135deg, #00d9ff, #5865f2);
}

.discord-btn:active {
    transform: scale(0.98);
}

.owner-badge {
    display: inline-block;
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid #00d9ff;
    color: #00d9ff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.team-member {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(10, 10, 10, 0.8));
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    width: 300px;
    text-align: center;
    transition: all 400ms ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 400ms ease;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00d9ff;
    margin-bottom: 20px;
    transition: all 300ms ease;
    position: relative;
    z-index: 1;
}

.team-member:hover .team-avatar {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.team-discord {
    font-size: 14px;
    font-weight: 400;
    color: rgb(150, 150, 150);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.team-role {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.2));
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.team-description {
    color: rgb(190, 190, 190);
    font-size: 15px;
    font-weight: 300;
    margin-top: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
