body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #000000, #0a0a0a);
    color: white;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #111;
    border-bottom: 2px solid red;
}

header h1 {
    font-size: 20px;
    color: white;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    color: #bbb;
}

/* CARD GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px;
}

/* CARD STYLE */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(255,0,0,0.4);
}

/* ICON */
.card i {
    font-size: 40px;
    color: red;
    margin-bottom: 15px;
}

/* TITLE */
.card h3 {
    margin: 10px 0;
}

/* TEXT */
.card p {
    color: #ccc;
    font-size: 14px;
}

/* 🌈 RGB BUTTON 
.rgb-btn {
    margin-top: 15px;
    margin: 15px;
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}
*/
/* BUTTON GROUP (NEW) */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* RGB BUTTON FIX */
.rgb-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

/* animated border */
.rgb-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(45deg,
        red, orange, yellow, green, cyan, blue, violet, red);
    background-size: 300%;
    animation: rgbMove 4s linear infinite;
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* inside background */
.rgb-btn::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #111;
    border-radius: 30px;
    z-index: -1;
}

/* animation */
@keyframes rgbMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}